sim: avr: fix -Wimplicit-fallthrough warnings

Replace some fall through comments with the attribute.
This commit is contained in:
Mike Frysinger 2023-12-21 01:28:52 -05:00
parent beb9aecf12
commit 639bab3ca6

View file

@ -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));