[Scummvm-cvs-logs] SF.net SVN: scummvm: [31460] scummvm/trunk/engines

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Apr 9 17:16:51 CEST 2008


Revision: 31460
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31460&view=rev
Author:   lordhoto
Date:     2008-04-09 08:16:50 -0700 (Wed, 09 Apr 2008)

Log Message:
-----------
Fixed warnings for msvc9.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/predictive.cpp
    scummvm/trunk/engines/cine/anim.cpp

Modified: scummvm/trunk/engines/agi/predictive.cpp
===================================================================
--- scummvm/trunk/engines/agi/predictive.cpp	2008-04-09 14:54:09 UTC (rev 31459)
+++ scummvm/trunk/engines/agi/predictive.cpp	2008-04-09 15:16:50 UTC (rev 31460)
@@ -555,7 +555,7 @@
 		return false;
 	}
 	// Lookup word in the dictionary
-	int line = 0, cmpRes, len;
+	int line = 0, cmpRes = 0, len = 0;
 	char target[MAXWORDLEN];
 
 	strncpy(target, _currentCode.c_str(), MAXWORDLEN);

Modified: scummvm/trunk/engines/cine/anim.cpp
===================================================================
--- scummvm/trunk/engines/cine/anim.cpp	2008-04-09 14:54:09 UTC (rev 31459)
+++ scummvm/trunk/engines/cine/anim.cpp	2008-04-09 15:16:50 UTC (rev 31460)
@@ -780,7 +780,7 @@
 	int8 isMask = 0, isSpl = 0;
 	byte *dataPtr, *ptr;
 	char *animName, part[256];
-	byte transparentColor;
+	byte transparentColor = 0;
 	AnimData *currentPtr;
 	AnimHeaderStruct animHeader;
 


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