aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-13 11:32:08 +0000
committerFilippos Karapetis2010-10-13 11:32:08 +0000
commitc81da6dcb6edb610574fb90ff32fc976b5362ec5 (patch)
treeea777f55c7f5e543f46bae412cdfbe9ba53b24f0 /engines
parent80c7fcede046bf3443535217e4d5b08b851cfbaf (diff)
downloadscummvm-rg350-c81da6dcb6edb610574fb90ff32fc976b5362ec5.tar.gz
scummvm-rg350-c81da6dcb6edb610574fb90ff32fc976b5362ec5.tar.bz2
scummvm-rg350-c81da6dcb6edb610574fb90ff32fc976b5362ec5.zip
SWORD25: Silenced MSVC false positive about a potentially uninitialized variable
svn-id: r53412
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/gfx/image/art.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/image/art.cpp b/engines/sword25/gfx/image/art.cpp
index e9aacbcf24..23300c432c 100644
--- a/engines/sword25/gfx/image/art.cpp
+++ b/engines/sword25/gfx/image/art.cpp
@@ -1149,7 +1149,7 @@ static int art_svp_writer_rewind_add_segment(ArtSvpWriter *self, int wind_left,
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;