From ee4a9b45b684a137d5360ed7566e1cedd7cbaaa5 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sat, 7 Apr 2012 21:55:07 +0000 Subject: [PATCH] littlerb: work around bug in older GCCs (nw) --- src/mame/drivers/littlerb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/drivers/littlerb.c b/src/mame/drivers/littlerb.c index f8046c0c0aa..de0f6565ba8 100644 --- a/src/mame/drivers/littlerb.c +++ b/src/mame/drivers/littlerb.c @@ -231,7 +231,7 @@ static void littlerb_recalc_address(running_machine &machine) READ16_MEMBER(littlerb_state::littlerb_vdp_r) { logerror("%06x littlerb_vdp_r offs %04x mask %04x (address %08x)\n", cpu_get_pc(&space.device()), offset, mem_mask, m_write_address); - UINT16 res; + UINT16 res = 0; switch (offset & 3) {