From 4298ce18fb33d5935231a83bcf1f60289eb6b09c Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 15 Nov 2020 03:58:54 +1100 Subject: Enable GCC implicit fallthrough warning. I've guessed whether break or [[fallthrough]] is appropriate. In cases where it looked particularly suspicious, I added a FIXME comment. All of these changes should be reviewed by someone familiar with the code. --- src/devices/machine/ds1994.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/devices/machine/ds1994.cpp') diff --git a/src/devices/machine/ds1994.cpp b/src/devices/machine/ds1994.cpp index c8da607c35c..c63fdd0da15 100644 --- a/src/devices/machine/ds1994.cpp +++ b/src/devices/machine/ds1994.cpp @@ -235,6 +235,7 @@ void ds1994_device::ds1994_rom_cmd(void) case ROMCMD_SEARCHINT: verboselog(0, "timer_main rom_command not implemented %02x\n", m_shift); m_state[m_state_ptr] = STATE_COMMAND; + break; default: verboselog(0, "timer_main rom_command not found %02x\n", m_shift); m_state[m_state_ptr] = STATE_IDLE; -- cgit v1.2.3-70-g09d2