[Scummvm-cvs-logs] SF.net SVN: scummvm:[50392] scummvm/trunk/engines/sci/graphics/ports.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jun 27 22:22:10 CEST 2010


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

Log Message:
-----------
Silenced a false positive in MSVC about a potentially uninitialized variable

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/ports.cpp

Modified: scummvm/trunk/engines/sci/graphics/ports.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/ports.cpp	2010-06-27 20:11:15 UTC (rev 50391)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp	2010-06-27 20:22:09 UTC (rev 50392)
@@ -55,7 +55,7 @@
 }
 
 void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *text16) {
-	int16 offTop;
+	int16 offTop = 10;
 
 	_usesOldGfxFunctions = usesOldGfxFunctions;
 	_paint16 = paint16;


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