aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/dv-m68hc11spi.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-21 01:33:32 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-21 01:59:22 -0500
commit452bfb00b5f2f48faef0bdca704274da38272fcc (patch)
tree47d9819852d05cd7c0a84960ad5409f85dd61701 /sim/m68hc11/dv-m68hc11spi.c
parentaab715218662ccbc947b74c4fc5832c56b313aef (diff)
downloadfsf-binutils-gdb-452bfb00b5f2f48faef0bdca704274da38272fcc.zip
fsf-binutils-gdb-452bfb00b5f2f48faef0bdca704274da38272fcc.tar.gz
fsf-binutils-gdb-452bfb00b5f2f48faef0bdca704274da38272fcc.tar.bz2
sim: m68hc11: fix -Wimplicit-fallthrough warnings
Seems like these register operations intended on falling thru.
Diffstat (limited to 'sim/m68hc11/dv-m68hc11spi.c')
-rw-r--r--sim/m68hc11/dv-m68hc11spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m68hc11/dv-m68hc11spi.c b/sim/m68hc11/dv-m68hc11spi.c
index e552fd5..ac44e6e 100644
--- a/sim/m68hc11/dv-m68hc11spi.c
+++ b/sim/m68hc11/dv-m68hc11spi.c
@@ -405,6 +405,7 @@ m68hc11spi_io_read_buffer (struct hw *me,
case M6811_SPSR:
controller->rx_clear_scsr = m68hc11_cpu->ios[M6811_SCSR]
& (M6811_SPIF | M6811_WCOL | M6811_MODF);
+ ATTRIBUTE_FALLTHROUGH;
case M6811_SPCR:
val = m68hc11_cpu->ios[base];