From 8bef7cfa68108af6c542223fcdeba21803a7583c Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 4 Aug 2009 17:59:58 +0000 Subject: [PATCH] gcc warns that windowDraw may be used unitialized which in theory is true. --- desmume/src/GPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index 977500066..6514ae346 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -636,7 +636,7 @@ FORCEINLINE FASTCALL bool GPU::_master_setFinalBGColor(u16 &color, const u32 x) if(WINDOW) { - bool windowDraw; + bool windowDraw = false; renderline_checkWindows(x, windowDraw, windowEffect); //backdrop must always be drawn