diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:28:52 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:59:22 -0500 |
commit | 639bab3ca6e91fe7affbe8c231bb2f7f159abf1c (patch) | |
tree | 0d5457d3f94c461331ad655466bd42af2241f9e0 /sim/avr | |
parent | beb9aecf1216e8a85a438a03c1b61023b928e596 (diff) | |
download | gdb-639bab3ca6e91fe7affbe8c231bb2f7f159abf1c.zip gdb-639bab3ca6e91fe7affbe8c231bb2f7f159abf1c.tar.gz gdb-639bab3ca6e91fe7affbe8c231bb2f7f159abf1c.tar.bz2 |
sim: avr: fix -Wimplicit-fallthrough warnings
Replace some fall through comments with the attribute.
Diffstat (limited to 'sim/avr')
-rw-r--r-- | sim/avr/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/avr/interp.c b/sim/avr/interp.c index eef4ad9..377398e 100644 --- a/sim/avr/interp.c +++ b/sim/avr/interp.c @@ -896,7 +896,7 @@ step_once (SIM_CPU *cpu) case OP_reti: sram[SREG] |= SREG_I; - /* Fall through */ + ATTRIBUTE_FALLTHROUGH; case OP_ret: { const struct avr_sim_state *state = AVR_SIM_STATE (CPU_STATE (cpu)); |