aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-25 13:32:15 +0000
committerFilippos Karapetis2010-07-25 13:32:15 +0000
commit8145fea6b9afdc90f1a24ce845133e46ac3f68ff (patch)
tree052863e53ac29f20ad18137f1c149fe7dc6f0feb /engines
parent246a157d1ef05cceebbb29aa9f5380ea3c98564b (diff)
downloadscummvm-rg350-8145fea6b9afdc90f1a24ce845133e46ac3f68ff.tar.gz
scummvm-rg350-8145fea6b9afdc90f1a24ce845133e46ac3f68ff.tar.bz2
scummvm-rg350-8145fea6b9afdc90f1a24ce845133e46ac3f68ff.zip
Silenced false positive warning in MSVC
svn-id: r51274
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/vdx.cpp2
1 files changed, 1 insertions, 1 deletions
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;