[Scummvm-cvs-logs] SF.net SVN: scummvm:[33816] scummvm/trunk/engines/agi/sound.cpp

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Wed Aug 13 03:10:03 CEST 2008


Revision: 33816
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33816&view=rev
Author:   buddha_
Date:     2008-08-13 01:10:03 +0000 (Wed, 13 Aug 2008)

Log Message:
-----------
Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/sound.cpp

Modified: scummvm/trunk/engines/agi/sound.cpp
===================================================================
--- scummvm/trunk/engines/agi/sound.cpp	2008-08-13 01:02:00 UTC (rev 33815)
+++ scummvm/trunk/engines/agi/sound.cpp	2008-08-13 01:10:03 UTC (rev 33816)
@@ -1207,7 +1207,7 @@
 	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();


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