[Scummvm-cvs-logs] SF.net SVN: scummvm:[50501] scummvm/trunk/engines/tinsel/tinlib.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Jun 29 20:20:10 CEST 2010


Revision: 50501
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50501&view=rev
Author:   lordhoto
Date:     2010-06-29 18:20:10 +0000 (Tue, 29 Jun 2010)

Log Message:
-----------
Silence possible use of uninitialized variable warning in g++.

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/tinlib.cpp

Modified: scummvm/trunk/engines/tinsel/tinlib.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/tinlib.cpp	2010-06-29 14:55:32 UTC (rev 50500)
+++ scummvm/trunk/engines/tinsel/tinlib.cpp	2010-06-29 18:20:10 UTC (rev 50501)
@@ -5557,7 +5557,7 @@
 	case WALKED: {
 		// Common to both DW1 & DW2
 		pp -= 3;			// 4 parameters
-		bool tmp;
+		bool tmp = false;
 		Walked(coroParam, pp[0], pp[1], pp[2], pp[3], pic->escOn, pic->myEscape, tmp);
 		if (!coroParam) {
 			// Only write the result to the stack if walked actually completed running.


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