[Scummvm-cvs-logs] SF.net SVN: scummvm:[33820] scummvm/branches/branch-0-12-0/engines/agi/ sound.cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Wed Aug 13 13:41:42 CEST 2008
Revision: 33820
http://scummvm.svn.sourceforge.net/scummvm/?rev=33820&view=rev
Author: buddha_
Date: 2008-08-13 11:41:42 +0000 (Wed, 13 Aug 2008)
Log Message:
-----------
Backport of r33816: Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.
Modified Paths:
--------------
scummvm/branches/branch-0-12-0/engines/agi/sound.cpp
Modified: scummvm/branches/branch-0-12-0/engines/agi/sound.cpp
===================================================================
--- scummvm/branches/branch-0-12-0/engines/agi/sound.cpp 2008-08-13 11:36:45 UTC (rev 33819)
+++ scummvm/branches/branch-0-12-0/engines/agi/sound.cpp 2008-08-13 11:41:42 UTC (rev 33820)
@@ -1212,7 +1212,7 @@
n -= s;
}
-SoundMgr::SoundMgr(AgiBase *agi, Audio::Mixer *pMixer) {
+SoundMgr::SoundMgr(AgiBase *agi, Audio::Mixer *pMixer) : _chn() {
_vm = agi;
_mixer = pMixer;
_sampleRate = pMixer->getOutputRate();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list