aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Salminen2008-08-13 01:10:03 +0000
committerKari Salminen2008-08-13 01:10:03 +0000
commitbe9192687b22e11bee2fe98f5e06a7a2dd623fd1 (patch)
tree1b4bb6980eb5003ae9bc9fe9d2b84dc00c4bdc8f
parenteeba630cbf48b093bd07d3e8413d6059fddb07df (diff)
downloadscummvm-rg350-be9192687b22e11bee2fe98f5e06a7a2dd623fd1.tar.gz
scummvm-rg350-be9192687b22e11bee2fe98f5e06a7a2dd623fd1.tar.bz2
scummvm-rg350-be9192687b22e11bee2fe98f5e06a7a2dd623fd1.zip
Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.
svn-id: r33816
-rw-r--r--engines/agi/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp
index 69ccc2c218..ec56763a93 100644
--- a/engines/agi/sound.cpp
+++ b/engines/agi/sound.cpp
@@ -1207,7 +1207,7 @@ void SoundMgr::fillAudio(void *udata, int16 *stream, uint len) {
n -= s;
}
-SoundMgr::SoundMgr(AgiBase *agi, Audio::Mixer *pMixer) : _sndBuffer() {
+SoundMgr::SoundMgr(AgiBase *agi, Audio::Mixer *pMixer) : _sndBuffer(), _chn() {
_vm = agi;
_mixer = pMixer;
_sampleRate = pMixer->getOutputRate();