aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;