aboutsummaryrefslogtreecommitdiff
path: root/engines/composer
diff options
context:
space:
mode:
authorFilippos Karapetis2011-09-12 21:58:54 +0300
committerFilippos Karapetis2011-09-12 21:58:54 +0300
commitcb57859159182bf54b108cda442e139a33f95d7e (patch)
tree0e5ace3654c5693cf3ef3889475db009eba0ba82 /engines/composer
parentcd1a18dfcda75a0a2a8af01da73803e77d590996 (diff)
downloadscummvm-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.cpp2
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(); }