[Scummvm-cvs-logs] SF.net SVN: scummvm: [31127] scummvm/trunk/engines/kyra/kyra_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Mar 15 12:39:20 CET 2008


Revision: 31127
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31127&view=rev
Author:   lordhoto
Date:     2008-03-15 04:39:19 -0700 (Sat, 15 Mar 2008)

Log Message:
-----------
Fixed some valgrind warnings.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra_v2.cpp

Modified: scummvm/trunk/engines/kyra/kyra_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v2.cpp	2008-03-15 10:55:32 UTC (rev 31126)
+++ scummvm/trunk/engines/kyra/kyra_v2.cpp	2008-03-15 11:39:19 UTC (rev 31127)
@@ -94,7 +94,7 @@
 	_currentTalkSections.TLKTim = NULL;
 	_currentTalkSections.ENDTim = NULL;
 
-	_invWsa.wsa = 0;
+	memset(&_invWsa, 0, sizeof(_invWsa));
 	_itemAnimTable = 0;
 	_nextAnimItem = 0;
 	_holdItemAnims = false;


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