aboutsummaryrefslogtreecommitdiff
path: root/scumm/bundle.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-25 20:07:15 +0000
committerMax Horn2003-01-25 20:07:15 +0000
commitbfbfdcd4ec6f5832aa2ca736b091c5bac45da976 (patch)
treed10a9927aaf92ca209bf47b243baf4fb416d01c3 /scumm/bundle.cpp
parent091c7089f812389c7b2d4e4e09213544001f1e34 (diff)
downloadscummvm-rg350-bfbfdcd4ec6f5832aa2ca736b091c5bac45da976.tar.gz
scummvm-rg350-bfbfdcd4ec6f5832aa2ca736b091c5bac45da976.tar.bz2
scummvm-rg350-bfbfdcd4ec6f5832aa2ca736b091c5bac45da976.zip
fixed compiler warnings
svn-id: r6542
Diffstat (limited to 'scumm/bundle.cpp')
-rw-r--r--scumm/bundle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/bundle.cpp b/scumm/bundle.cpp
index 7adf5b9784..c7c6040297 100644
--- a/scumm/bundle.cpp
+++ b/scumm/bundle.cpp
@@ -792,8 +792,8 @@ int32 Bundle::decompressCodec(int32 codec, byte *comp_input, byte *comp_output,
{
int32 left, startPos, origLeft, curTableEntry, destPos, esiReg;
int16 firstWord;
- byte sByte1, sByte2;
- int32 sDWord1, sDWord2, sDWord3, sDWord4;
+ byte sByte1 = 0, sByte2 = 0;
+ int32 sDWord1 = 0, sDWord2 = 0, sDWord3 = 0, sDWord4 = 0;
int32 tableEntrySum, imcTableEntry, curTablePos, outputWord, adder;
byte decompTable, otherTablePos, var3b;
byte *readPos, *dst;