From 3e0663a51676f7482a82c4b4afe24e4ee72b7787 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 5 Jun 2016 23:10:02 +0200 Subject: AGI: Clean up object initialization --- engines/agi/lzw.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/agi/lzw.cpp') diff --git a/engines/agi/lzw.cpp b/engines/agi/lzw.cpp index bf41e1f3b4..ecb69543d7 100644 --- a/engines/agi/lzw.cpp +++ b/engines/agi/lzw.cpp @@ -72,6 +72,7 @@ LZWDecoder::LZWDecoder() { appendCharacter = (uint8 *)malloc(TABLE_SIZE * sizeof(uint8)); inputBitCount = 0; // Number of bits in input bit buffer inputBitBuffer = 0L; + BITS = MAX_VALUE = MAX_CODE = 0; } LZWDecoder::~LZWDecoder() { -- cgit v1.2.3