From 39a794edb1ae41d415a365235c0d3911776bf157 Mon Sep 17 00:00:00 2001 From: hap Date: Tue, 1 Nov 2022 12:29:54 +0100 Subject: jedi_v: bogus gcc 'variable may be uninitialized' warning --- src/mame/atari/jedi_v.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/atari/jedi_v.cpp b/src/mame/atari/jedi_v.cpp index ca5fdd8b540..854c6b1bc57 100644 --- a/src/mame/atari/jedi_v.cpp +++ b/src/mame/atari/jedi_v.cpp @@ -168,7 +168,7 @@ void jedi_state::draw_background_and_text(bitmap_rgb32 &bitmap, const rectangle for (int x = cliprect.left(); x <= cliprect.right(); x += 2) { - u16 tx_col1, tx_col2, bg_col; + u16 tx_col1, tx_col2, bg_col = 0; const int sy = y + m_vscroll; int sx = x + m_hscroll; -- cgit v1.2.3