summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2012-04-07 21:55:07 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2012-04-07 21:55:07 +0000
commitee4a9b45b684a137d5360ed7566e1cedd7cbaaa5 (patch)
tree2ac26614f71c264d5e28b2f474891c4d51a11067
parentc7f9edd79349d3b61a4a0c28ad92455f12ce6afe (diff)
littlerb: work around bug in older GCCs (nw)
-rw-r--r--src/mame/drivers/littlerb.c2
1 files changed, 1 insertions, 1 deletions
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)
{