From 367aba30d42c715ae2749603370e7d79a16a5809 Mon Sep 17 00:00:00 2001 From: smf- Date: Mon, 3 Dec 2018 21:26:57 +0000 Subject: better fix --- src/mame/drivers/hp95lx.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/hp95lx.cpp b/src/mame/drivers/hp95lx.cpp index c160b251167..66bcc85e93e 100644 --- a/src/mame/drivers/hp95lx.cpp +++ b/src/mame/drivers/hp95lx.cpp @@ -416,7 +416,6 @@ WRITE8_MEMBER(hp95lx_state::f300_w) { address_map_bank_device *mapper; const char *mapname; - mapper = m_bankdev_e000; // appease GCC 'may be used uninitialized' LOG("%s: IO %04x <- %02x\n", machine().describe_context(), 0xf300 + offset, data); @@ -455,6 +454,10 @@ WRITE8_MEMBER(hp95lx_state::f300_w) mapper = m_bankdev_d000; mapname = "D0000"; break; + + default: + LOG("MAPPER %02x unknown\n", offset); + return; } switch (offset) -- cgit v1.2.3