COMPOSER: Silence a false positive warning in MSVC

This commit is contained in:
Filippos Karapetis 2011-09-12 21:58:54 +03:00
parent cd1a18dfcd
commit cb57859159

View file

@ -534,7 +534,7 @@ void ComposerEngine::setBackground(uint16 id) {
static void decompressSLWM(byte *buffer, Common::SeekableReadStream *stream) { static void decompressSLWM(byte *buffer, Common::SeekableReadStream *stream) {
uint bitsLeft = 0; uint bitsLeft = 0;
uint16 lastBits; uint16 lastBits = 0;
byte currBit; byte currBit;
while (true) { while (true) {
if (bitsLeft == 0) { bitsLeft = 16; lastBits = stream->readUint16LE(); } if (bitsLeft == 0) { bitsLeft = 16; lastBits = stream->readUint16LE(); }