sim: avr: fix -Wimplicit-fallthrough warnings
Replace some fall through comments with the attribute.
This commit is contained in:
parent
beb9aecf12
commit
639bab3ca6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue