[Scummvm-cvs-logs] SF.net SVN: scummvm:[50925] scummvm/trunk/gui/ThemeParser.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Fri Jul 16 05:14:58 CEST 2010


Revision: 50925
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50925&view=rev
Author:   eriktorbjorn
Date:     2010-07-16 03:14:58 +0000 (Fri, 16 Jul 2010)

Log Message:
-----------
Cleanup.

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeParser.cpp

Modified: scummvm/trunk/gui/ThemeParser.cpp
===================================================================
--- scummvm/trunk/gui/ThemeParser.cpp	2010-07-16 03:14:03 UTC (rev 50924)
+++ scummvm/trunk/gui/ThemeParser.cpp	2010-07-16 03:14:58 UTC (rev 50925)
@@ -365,10 +365,8 @@
 	if (_theme->addDrawData(node->values["id"], cached) == false)
 		return parserError("Error adding Draw Data set: Invalid DrawData name.");
 
-	if (_defaultStepLocal) {
-		delete _defaultStepLocal;
-		_defaultStepLocal = 0;
-	}
+	delete _defaultStepLocal;
+	_defaultStepLocal = 0;
 
 	return 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