aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2014-10-19 00:08:32 +0200
committerSven Hesse2014-10-19 00:08:32 +0200
commit7bdf48170a86fddca28350afac5b90981be0d9a0 (patch)
tree7089bf51f26b338ba6797d6e4a72579a30ac6205 /engines/gob
parent92bf8a54200e762bc95a155e3cdcffd22ec258d3 (diff)
downloadscummvm-rg350-7bdf48170a86fddca28350afac5b90981be0d9a0.tar.gz
scummvm-rg350-7bdf48170a86fddca28350afac5b90981be0d9a0.tar.bz2
scummvm-rg350-7bdf48170a86fddca28350afac5b90981be0d9a0.zip
GOB: Remove useless memcpy()
Happened while removing Draw::_vgaSmallPalette in 0f9b1364c. Fixes Coverity issue #1230309.
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter_v1.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp
index 40134bbf17..676564a9fb 100644
--- a/engines/gob/inter_v1.cpp
+++ b/engines/gob/inter_v1.cpp
@@ -1124,8 +1124,6 @@ void Inter_v1::o1_palLoad(OpFuncParams &params) {
_vm->_draw->_vgaPalette[i].green = _vm->_game->_script->readByte();
_vm->_draw->_vgaPalette[i].blue = _vm->_game->_script->readByte();
}
-
- memcpy(_vm->_draw->_vgaPalette, _vm->_draw->_vgaPalette, 16 * 3);
break;
case 53: