From 7bdf48170a86fddca28350afac5b90981be0d9a0 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 19 Oct 2014 00:08:32 +0200 Subject: GOB: Remove useless memcpy() Happened while removing Draw::_vgaSmallPalette in 0f9b1364c. Fixes Coverity issue #1230309. --- engines/gob/inter_v1.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/gob') 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 ¶ms) { _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: -- cgit v1.2.3