target/mips: Add missing 'break' for certain cases of MFTR handling

This was found by GCC 8.3 static analysis.

Fixes: ead9360e2fb

Backports commit f1fadbb27af04115c9d24e0902d88a38d0266854 from qemu
This commit is contained in:
Aleksandar Markovic 2019-08-08 19:37:32 -04:00 committed by Lioncash
parent b2aa75be33
commit 720aff63da
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -9886,6 +9886,7 @@ static void gen_mftr(CPUMIPSState *env, DisasContext *ctx, int rt, int rd,
gen_mfc0(ctx, t0, rt, sel);
break;
}
break;
case 12:
switch (sel) {
case 0:
@ -9895,6 +9896,7 @@ static void gen_mftr(CPUMIPSState *env, DisasContext *ctx, int rt, int rd,
gen_mfc0(ctx, t0, rt, sel);
break;
}
break;
case 13:
switch (sel) {
case 0: