From d73d2b715f89dc998a507d0eb93c8225ab1401a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Tue, 25 Dec 2012 17:26:35 +0000 Subject: [PATCH] fixed Visual Studio warning about use of potentially uninitialized variable (nw) --- src/mame/video/decocass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/decocass.c b/src/mame/video/decocass.c index adff61cff3b..dcfa69d5ecc 100644 --- a/src/mame/video/decocass.c +++ b/src/mame/video/decocass.c @@ -521,7 +521,7 @@ void decocass_state::draw_edge(bitmap_ind16 &bitmap, const rectangle &cliprect, for (x=clip.min_x; x<=clip.max_x;x++) { - int srccol; + int srccol = 0; // 2 bits control the x scroll mode, allowing it to wrap either half of the tilemap, or transition one way or the other between the two halves