[Scummvm-cvs-logs] SF.net SVN: scummvm:[34469] scummvm/trunk/engines/agos/saveload.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Sep 10 08:59:56 CEST 2008


Revision: 34469
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34469&view=rev
Author:   thebluegr
Date:     2008-09-10 06:59:55 +0000 (Wed, 10 Sep 2008)

Log Message:
-----------
Fix for bug #2102828 - "AGOS - compilation error, uninitialized variable"

Modified Paths:
--------------
    scummvm/trunk/engines/agos/saveload.cpp

Modified: scummvm/trunk/engines/agos/saveload.cpp
===================================================================
--- scummvm/trunk/engines/agos/saveload.cpp	2008-09-10 06:57:32 UTC (rev 34468)
+++ scummvm/trunk/engines/agos/saveload.cpp	2008-09-10 06:59:55 UTC (rev 34469)
@@ -244,7 +244,7 @@
 void AGOSEngine::userGame(bool load) {
 	WindowBlock *window = _windowArray[4];
 	const char *message1;
-	int i, numSaveGames;
+	int i = 0, numSaveGames;
 	char *name;
 	char buf[8];
 


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