[Scummvm-cvs-logs] SF.net SVN: scummvm:[50071] scummvm/trunk/engines/m4/mads_scene.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Jun 20 09:06:22 CEST 2010


Revision: 50071
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50071&view=rev
Author:   dreammaster
Date:     2010-06-20 07:06:22 +0000 (Sun, 20 Jun 2010)

Log Message:
-----------
Removed unused variables

Modified Paths:
--------------
    scummvm/trunk/engines/m4/mads_scene.cpp

Modified: scummvm/trunk/engines/m4/mads_scene.cpp
===================================================================
--- scummvm/trunk/engines/m4/mads_scene.cpp	2010-06-20 07:04:58 UTC (rev 50070)
+++ scummvm/trunk/engines/m4/mads_scene.cpp	2010-06-20 07:06:22 UTC (rev 50071)
@@ -681,14 +681,12 @@
 
 	// Initialise a copy of the surfaces if they weren't provided
 	bool dsFlag = false, ssFlag = false;
-	int gfxSize = width * height;
 	if (!surface) {
 		surface = new M4Surface(width, height);
 		ssFlag = true;
 	} else if ((width != surface->width()) || (height != surface->height()))
 		surface->setSize(width, height);
 
-	int walkSize = gfxSize;
 	if (!depthSurface) {
 		depthSurface = new M4Surface(width, height);
 		dsFlag = true;


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