mirror of https://gitee.com/openkylin/qemu.git
target/mips: Add missing 'break' for certain cases of MTTR handling
This was found by GCC 8.3 static analysis.
Fixes: ead9360e2f
Reported-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <1563220847-14630-5-git-send-email-aleksandar.markovic@rt-rk.com>
This commit is contained in:
parent
f1fadbb27a
commit
0d0304f2c4
|
@ -10055,6 +10055,7 @@ static void gen_mttr(CPUMIPSState *env, DisasContext *ctx, int rd, int rt,
|
|||
gen_mtc0(ctx, t0, rd, sel);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
switch (sel) {
|
||||
case 0:
|
||||
|
@ -10064,6 +10065,7 @@ static void gen_mttr(CPUMIPSState *env, DisasContext *ctx, int rd, int rt,
|
|||
gen_mtc0(ctx, t0, rd, sel);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 13:
|
||||
switch (sel) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue