From e8aaac5fe648cff36f197bafd66c7f38475aae43 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 21 Dec 2023 01:35:57 -0500 Subject: sim: rl78: fix -Wimplicit-fallthrough warnings Seems like this code was meant to fallthru. --- sim/rl78/rl78.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/rl78/rl78.c') 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 (); -- cgit v1.1