[Scummvm-cvs-logs] SF.net SVN: scummvm:[44249] scummvm/trunk/engines/sci/engine/savegame.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Sep 22 11:00:32 CEST 2009


Revision: 44249
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44249&view=rev
Author:   thebluegr
Date:     2009-09-22 09:00:32 +0000 (Tue, 22 Sep 2009)

Log Message:
-----------
Removed unused variable

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/savegame.cpp

Modified: scummvm/trunk/engines/sci/engine/savegame.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/savegame.cpp	2009-09-22 08:57:45 UTC (rev 44248)
+++ scummvm/trunk/engines/sci/engine/savegame.cpp	2009-09-22 09:00:32 UTC (rev 44249)
@@ -592,7 +592,7 @@
 
 // FIXME: The following should likely become a SegManager method
 static void reconstruct_scripts(EngineState *s, SegManager *self) {
-	uint i, j;
+	uint i;
 	SegmentObj *mobj;
 
 	for (i = 0; i < self->_heap.size(); i++) {
@@ -660,7 +660,7 @@
 
 						if (!base_obj) {
 							warning("Object without a base class: Script %d, index %d (reg address %04x:%04x",
-								  scr->_nr, j, PRINT_REG(it->_value.getSpeciesSelector()));
+								  scr->_nr, i, PRINT_REG(it->_value.getSpeciesSelector()));
 							continue;
 						}
 						it->_value.variable_names_nr = base_obj->_variables.size();


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