aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-01-19 11:11:07 +0000
committerPaweł Kołodziejski2003-01-19 11:11:07 +0000
commitad55540f52fe8f30fb11af583b812f728e5a82e3 (patch)
tree00a8b9ce94ebbe1ba083cb395654a4e453c0c40f
parent8f2b07260a7200e573a86f21a959ec5fa2b6a6ab (diff)
downloadscummvm-rg350-ad55540f52fe8f30fb11af583b812f728e5a82e3.tar.gz
scummvm-rg350-ad55540f52fe8f30fb11af583b812f728e5a82e3.tar.bz2
scummvm-rg350-ad55540f52fe8f30fb11af583b812f728e5a82e3.zip
fix warnings
svn-id: r6516
-rw-r--r--scumm/smush/player.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/smush/player.cpp b/scumm/smush/player.cpp
index e8f7be118a..1940c64c21 100644
--- a/scumm/smush/player.cpp
+++ b/scumm/smush/player.cpp
@@ -200,9 +200,9 @@ SmushPlayer::SmushPlayer(Renderer * renderer, bool wait, bool sound) :
_subtitles(true),
_bgmusic(true),
_voices(true),
+ _curBuffer(0),
_IACTchannel(-1),
- _IACTpos(0),
- _curBuffer(0) {
+ _IACTpos(0) {
_fr[0] = _fr[1] = _fr[2] = _fr[3] = _fr[4] = 0;
assert(_renderer != 0);
}
@@ -720,13 +720,13 @@ void SmushPlayer::handleAnimHeader(Chunk & b) {
debug(6, "SmushPlayer::handleAnimHeader()");
_version = b.getWord();
_nbframes = b.getWord();
- int32 unknown = b.getWord();
+ b.getWord();
_renderer->startDecode(_fname, _version, _nbframes);
readPalette(_pal, b);
updatePalette();
if(_version == 2) {
_secondaryVersion = b.getDword();
- int32 unknown2 = b.getDword();
+ b.getDword();
if(_secondaryVersion != 10 && _secondaryVersion != 0 && _secondaryVersion != 12 && _secondaryVersion != 15 && _secondaryVersion != 14) {
error("Wrong secondary version number for SMUSH animation");
}