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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sun Apr 15 16:12:12 CEST 2007


Revision: 26498
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26498&view=rev
Author:   drmccoy
Date:     2007-04-15 07:12:11 -0700 (Sun, 15 Apr 2007)

Log Message:
-----------
Some more MSVC8 uninitialed variable warning (see bug #1700986)

Modified Paths:
--------------
    scummvm/trunk/engines/gob/imd.cpp
    scummvm/trunk/engines/gob/inter_v3.cpp

Modified: scummvm/trunk/engines/gob/imd.cpp
===================================================================
--- scummvm/trunk/engines/gob/imd.cpp	2007-04-15 14:12:08 UTC (rev 26497)
+++ scummvm/trunk/engines/gob/imd.cpp	2007-04-15 14:12:11 UTC (rev 26498)
@@ -961,7 +961,7 @@
 }
 
 void ImdPlayer::seekFrame(Imd *imdPtr, int16 frame, int16 from, bool restart) {
-	uint32 framePos;
+	uint32 framePos = 0;
 
 	if (!imdPtr)
 		return;

Modified: scummvm/trunk/engines/gob/inter_v3.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v3.cpp	2007-04-15 14:12:08 UTC (rev 26497)
+++ scummvm/trunk/engines/gob/inter_v3.cpp	2007-04-15 14:12:11 UTC (rev 26498)
@@ -715,7 +715,7 @@
 	int16 totTextItem;
 	int16 part, curPart = 0;
 	int16 offX = 0, offY = 0;
-	int16 collId, collCmd;
+	int16 collId = 0, collCmd;
 	uint32 stringStartVar, stringVar;
 	bool end;
 


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