aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/image/codecs/hlz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryomni3d/image/codecs/hlz.cpp')
-rw-r--r--engines/cryomni3d/image/codecs/hlz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cryomni3d/image/codecs/hlz.cpp b/engines/cryomni3d/image/codecs/hlz.cpp
index 6f550c7720..adbea2d6ef 100644
--- a/engines/cryomni3d/image/codecs/hlz.cpp
+++ b/engines/cryomni3d/image/codecs/hlz.cpp
@@ -76,7 +76,7 @@ void HLZDecoder::decodeFrameInPlace(Common::SeekableReadStream &stream, uint32 s
bool eof = false;
bool checkSize = (size != (uint32) - 1);
byte *orig = dst;
- uint32 reg;
+ uint32 reg = 0;
int regBits = 0;
#define GETREG() getReg(stream, &size, &reg, &regBits)