Silenced false positive warning in MSVC

svn-id: r51274
This commit is contained in:
Filippos Karapetis 2010-07-25 13:32:15 +00:00
parent 246a157d1e
commit 8145fea6b9

View File

@ -489,7 +489,7 @@ void VDXPlayer::decodeBlockDelta(uint32 offset, byte *colours, uint16 imageWidth
// Move the pointers to the beginning of the current block
int32 blockOff = _origX + _origY * imageWidth;
dest += blockOff;
byte *fgBuf;
byte *fgBuf = 0;
if (_flagSeven) {
fgBuf = (byte *)_fg->getBasePtr(0, 0) + offset + blockOff;
//byte *bgBuf = (byte *)_bg->getBasePtr(0, 0) + offset + blockOff;