From cb57859159182bf54b108cda442e139a33f95d7e Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 12 Sep 2011 21:58:54 +0300 Subject: COMPOSER: Silence a false positive warning in MSVC --- engines/composer/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/composer') 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(); } -- cgit v1.2.3