From 30b4b87f587283218eb19865633ce8a659fdd392 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 22 Apr 2006 05:48:40 +0000 Subject: Fix valgrind warning svn-id: r22082 --- sound/adpcm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/adpcm.cpp') diff --git a/sound/adpcm.cpp b/sound/adpcm.cpp index d2e1e72aed..5d213842e6 100644 --- a/sound/adpcm.cpp +++ b/sound/adpcm.cpp @@ -92,6 +92,7 @@ ADPCMInputStream::ADPCMInputStream(Common::SeekableReadStream *stream, uint32 si _status.last = 0; _status.stepIndex = 0; + memset(_status.ch, 0, sizeof(_status.ch)); _endpos = stream->pos() + size; _blockPos = _blockLen = 0; -- cgit v1.2.3