Skip to contentSkip to conversation

target/rx/translate: Add missing fall through comment

PATCH-for-5.0 Philippe Mathieu-Daudé 2 participants 2 messages Apr 3, 2020

lore
Share & tools
lore
#0 lore raw

Coverity reported a missing fall through comments, add it.

Fixes e5918d7d7f0 ("target/rx: TCG translation")
Reported-by Coverity (CID 1422222 MISSING_BREAK)
---
 target/rx/translate.c | 1 +
 1 file changed, 1 insertion(+)
target/rx/translate.c +1 -0
index b3d7305f23..61e86653a4 100644
@@ -2362,6 +2362,7 @@ static void rx_tr_tb_stop(DisasContextBase *dcbase, CPUState *cs)
         break;
     case DISAS_UPDATE:
         tcg_gen_movi_i32(cpu_pc, ctx->base.pc_next);
+        /* fall through */
     case DISAS_EXIT:
         tcg_gen_exit_tb(NULL, 0);
         break;
Signature · 1 line
2.21.1