[Scummvm-cvs-logs] SF.net SVN: scummvm:[53815] scummvm/branches/branch-1-2-0/engines/sci/ graphics/animate.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Oct 25 12:47:43 CEST 2010


Revision: 53815
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53815&view=rev
Author:   thebluegr
Date:     2010-10-25 10:47:43 +0000 (Mon, 25 Oct 2010)

Log Message:
-----------
SCI: Fix warning about uninitialized variable (backport of rev 53140)

Revision Links:
--------------
    http://scummvm.svn.sourceforge.net/scummvm/?rev=53140&view=rev

Modified Paths:
--------------
    scummvm/branches/branch-1-2-0/engines/sci/graphics/animate.cpp

Modified: scummvm/branches/branch-1-2-0/engines/sci/graphics/animate.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/engines/sci/graphics/animate.cpp	2010-10-25 10:35:52 UTC (rev 53814)
+++ scummvm/branches/branch-1-2-0/engines/sci/graphics/animate.cpp	2010-10-25 10:47:43 UTC (rev 53815)
@@ -141,6 +141,7 @@
 		AnimateEntry listEntry;
 		const reg_t curObject = curNode->value;
 		listEntry.object = curObject;
+		listEntry.castHandle = NULL_REG;
 
 		// Get data from current object
 		listEntry.givenOrderNo = listNr;


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