diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:35:57 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:59:23 -0500 |
commit | e8aaac5fe648cff36f197bafd66c7f38475aae43 (patch) | |
tree | 3ab22381b27f03f6eb289c0a52dc49c4c2310008 /sim/rl78/rl78.c | |
parent | 05b9feffffb7af6986469f1be427d0c7d7fa2683 (diff) | |
download | gdb-e8aaac5fe648cff36f197bafd66c7f38475aae43.zip gdb-e8aaac5fe648cff36f197bafd66c7f38475aae43.tar.gz gdb-e8aaac5fe648cff36f197bafd66c7f38475aae43.tar.bz2 |
sim: rl78: fix -Wimplicit-fallthrough warnings
Seems like this code was meant to fallthru.
Diffstat (limited to 'sim/rl78/rl78.c')
-rw-r--r-- | sim/rl78/rl78.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/rl78/rl78.c b/sim/rl78/rl78.c index 8f11c09..447f56f 100644 --- a/sim/rl78/rl78.c +++ b/sim/rl78/rl78.c @@ -499,6 +499,7 @@ decode_opcode (void) CLOCKS (3); /* note: adds two clocks, total 5 clocks */ else CLOCKS (2); /* note: adds one clock, total 4 clocks */ + ATTRIBUTE_FALLTHROUGH; case RLO_branch: tprintf ("BRANCH: "); v = GPC (); |