[Scummvm-cvs-logs] SF.net SVN: scummvm:[53412] scummvm/trunk/engines/sword25/gfx/image/art.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Oct 13 13:32:08 CEST 2010


Revision: 53412
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53412&view=rev
Author:   thebluegr
Date:     2010-10-13 11:32:08 +0000 (Wed, 13 Oct 2010)

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

Modified Paths:
--------------
    scummvm/trunk/engines/sword25/gfx/image/art.cpp

Modified: scummvm/trunk/engines/sword25/gfx/image/art.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/image/art.cpp	2010-10-13 11:24:53 UTC (rev 53411)
+++ scummvm/trunk/engines/sword25/gfx/image/art.cpp	2010-10-13 11:32:08 UTC (rev 53412)
@@ -1149,7 +1149,7 @@
 	ArtSvpWriterRewind *swr = (ArtSvpWriterRewind *)self;
 	ArtSVP *svp;
 	ArtSVPSeg *seg;
-	art_boolean left_filled, right_filled;
+	art_boolean left_filled = 0, right_filled = 0;
 	int wind_right = wind_left + delta_wind;
 	int seg_num;
 	const int init_n_points_max = 4;


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