[Scummvm-cvs-logs] SF.net SVN: scummvm:[39637] scummvm/branches/branch-0-13-0/engines/agos/ charset-fontdata.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Mar 23 20:28:47 CET 2009


Revision: 39637
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39637&view=rev
Author:   thebluegr
Date:     2009-03-23 19:28:46 +0000 (Mon, 23 Mar 2009)

Log Message:
-----------
Silenced MSVC warnings about uninitialized variables

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/agos/charset-fontdata.cpp

Modified: scummvm/branches/branch-0-13-0/engines/agos/charset-fontdata.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/agos/charset-fontdata.cpp	2009-03-23 17:42:08 UTC (rev 39636)
+++ scummvm/branches/branch-0-13-0/engines/agos/charset-fontdata.cpp	2009-03-23 19:28:46 UTC (rev 39637)
@@ -1768,9 +1768,9 @@
 };
 
 void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) {
-	const byte *src;
-	byte color, *dst;
-	uint h, w, i;
+	const byte *src = 0;
+	byte color, *dst = 0;
+	uint h = 0, w = 0, i;
 
 	if (_noOracleScroll)
 		return;


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