[Scummvm-cvs-logs] SF.net SVN: scummvm:[35507] scummvm/trunk/engines/groovie/graphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Dec 23 21:41:26 CET 2008


Revision: 35507
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35507&view=rev
Author:   thebluegr
Date:     2008-12-23 20:41:25 +0000 (Tue, 23 Dec 2008)

Log Message:
-----------
Silenced MSVC warnings

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/graphics.cpp

Modified: scummvm/trunk/engines/groovie/graphics.cpp
===================================================================
--- scummvm/trunk/engines/groovie/graphics.cpp	2008-12-23 20:20:30 UTC (rev 35506)
+++ scummvm/trunk/engines/groovie/graphics.cpp	2008-12-23 20:41:25 UTC (rev 35507)
@@ -131,7 +131,7 @@
 
 void GraphicsMan::applyFading(int step) {
 	// Calculate the fade factor for the given step
-	int factorR, factorG, factorB;
+	int factorR = 0, factorG = 0, factorB = 0;
 	if (_fading == 1) {
 		// Fading in
 		factorR = (step << 2);


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