From 173988960be7bb4a73a6911b2f4474b85387145c Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 15 Jan 2008 20:06:41 +0000 Subject: Initialise _lastTableWidth. (Fixes Valgrind warning.) svn-id: r30497 --- engines/scumm/smush/codec47.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/scumm/smush') diff --git a/engines/scumm/smush/codec47.cpp b/engines/scumm/smush/codec47.cpp index d4ff77b1f9..8dd8b0cffe 100644 --- a/engines/scumm/smush/codec47.cpp +++ b/engines/scumm/smush/codec47.cpp @@ -526,6 +526,7 @@ void Codec47Decoder::decode2(byte *dst, const byte *src, int width, int height, #endif Codec47Decoder::Codec47Decoder(int width, int height) { + _lastTableWidth = -1; _width = width; _height = height; _tableBig = (byte *)malloc(256 * 388); -- cgit v1.2.3