From 8145fea6b9afdc90f1a24ce845133e46ac3f68ff Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 25 Jul 2010 13:32:15 +0000 Subject: Silenced false positive warning in MSVC svn-id: r51274 --- engines/groovie/vdx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/groovie') diff --git a/engines/groovie/vdx.cpp b/engines/groovie/vdx.cpp index efb80059f7..61756cb218 100644 --- a/engines/groovie/vdx.cpp +++ b/engines/groovie/vdx.cpp @@ -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; -- cgit v1.2.3