From ab8c34105a0ddd0c05159fb76919a18de8df4e8f Mon Sep 17 00:00:00 2001 From: Aleksandar Markovic Date: Mon, 15 Jul 2019 22:00:44 +0200 Subject: target/mips: Add missing 'break' for a case of MTHC0 handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was found by GCC 8.3 static analysis. Fixes: 5fb2dcd1792 Reported-by: Stefan Weil Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Signed-off-by: Aleksandar Markovic Message-Id: <1563220847-14630-3-git-send-email-aleksandar.markovic@rt-rk.com> --- target/mips/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/mips/translate.c b/target/mips/translate.c index f96f141..cce1f12 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -6745,6 +6745,7 @@ static void gen_mthc0(DisasContext *ctx, TCGv arg, int reg, int sel) default: goto cp0_unimplemented; } + break; case CP0_REGISTER_17: switch (sel) { case 0: -- cgit v1.1