COMPOSER: Silence a false positive warning in MSVC
This commit is contained in:
parent
cd1a18dfcd
commit
cb57859159
1 changed files with 1 additions and 1 deletions
|
@ -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(); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue