diff options
author | Filippos Karapetis | 2011-09-12 21:58:54 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-09-12 21:58:54 +0300 |
commit | cb57859159182bf54b108cda442e139a33f95d7e (patch) | |
tree | 0e5ace3654c5693cf3ef3889475db009eba0ba82 /engines/composer | |
parent | cd1a18dfcda75a0a2a8af01da73803e77d590996 (diff) | |
download | scummvm-rg350-cb57859159182bf54b108cda442e139a33f95d7e.tar.gz scummvm-rg350-cb57859159182bf54b108cda442e139a33f95d7e.tar.bz2 scummvm-rg350-cb57859159182bf54b108cda442e139a33f95d7e.zip |
COMPOSER: Silence a false positive warning in MSVC
Diffstat (limited to 'engines/composer')
-rw-r--r-- | engines/composer/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/composer/graphics.cpp b/engines/composer/graphics.cpp index 0768a86e7a..f253d85ad7 100644 --- a/engines/composer/graphics.cpp +++ b/engines/composer/graphics.cpp @@ -534,7 +534,7 @@ void ComposerEngine::setBackground(uint16 id) { static void decompressSLWM(byte *buffer, Common::SeekableReadStream *stream) { uint bitsLeft = 0; - uint16 lastBits; + uint16 lastBits = 0; byte currBit; while (true) { if (bitsLeft == 0) { bitsLeft = 16; lastBits = stream->readUint16LE(); } |