diff options
author | Kari Salminen | 2008-08-13 01:10:03 +0000 |
---|---|---|
committer | Kari Salminen | 2008-08-13 01:10:03 +0000 |
commit | be9192687b22e11bee2fe98f5e06a7a2dd623fd1 (patch) | |
tree | 1b4bb6980eb5003ae9bc9fe9d2b84dc00c4bdc8f /engines | |
parent | eeba630cbf48b093bd07d3e8413d6059fddb07df (diff) | |
download | scummvm-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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/sound.cpp | 2 |
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(); |