diff options
author | D G Turner | 2017-01-11 15:10:01 +0000 |
---|---|---|
committer | D G Turner | 2017-01-11 15:10:01 +0000 |
commit | 68de00b36727424c2ea6c1a2d078288659492ab3 (patch) | |
tree | 29fe088d759071d90b9465f01e15e5e8a0cb4cda /engines | |
parent | e66cec02509cfcef289819d66567e13bdd5e66af (diff) | |
download | scummvm-rg350-68de00b36727424c2ea6c1a2d078288659492ab3.tar.gz scummvm-rg350-68de00b36727424c2ea6c1a2d078288659492ab3.tar.bz2 scummvm-rg350-68de00b36727424c2ea6c1a2d078288659492ab3.zip |
BLADERUNNER: Fix Unused Variable Compiler Warnings.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/bladerunner/vqa_decoder.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/engines/bladerunner/vqa_decoder.cpp b/engines/bladerunner/vqa_decoder.cpp index fe94012c51..15bf49306a 100644 --- a/engines/bladerunner/vqa_decoder.cpp +++ b/engines/bladerunner/vqa_decoder.cpp @@ -434,10 +434,9 @@ bool VQADecoder::readCINF(Common::SeekableReadStream *s, uint32 size) { return false; for (int i = 0; i != _clipInfo.clipCount; ++i) { - uint16 a; - uint32 b; - a = s->readUint16LE(); - b = s->readUint32LE(); + uint16 a = s->readUint16LE(); + uint32 b = s->readUint32LE(); + debug("VQADecoder::readCINF() i: %d a: 0x%04x b: 0x%08x", i, a, b); } return true; @@ -471,13 +470,13 @@ bool VQADecoder::readLNIN(Common::SeekableReadStream *s, uint32 size) { if (chd.id != kLNIH || chd.size != 10) return false; - uint16 loopNamesCount, loopUnk1, loopUnk2, loopUnk3, loopUnk4; + uint16 loopNamesCount = s->readUint16LE(); + uint16 loopUnk1 = s->readUint16LE(); + uint16 loopUnk2 = s->readUint16LE(); + uint16 loopUnk3 = s->readUint16LE(); + uint16 loopUnk4 = s->readUint16LE(); - loopNamesCount = s->readUint16LE(); - loopUnk1 = s->readUint16LE(); - loopUnk2 = s->readUint16LE(); - loopUnk3 = s->readUint16LE(); - loopUnk4 = s->readUint16LE(); + debug("VQADecoder::readLNIN() Unknown Values: 0x%04x 0x%04x 0x%04x 0x%04x", loopUnk1, loopUnk2, loopUnk3, loopUnk4); if (loopNamesCount != _loopInfo.loopCount) return false; |