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

This was found by GCC 8.3 static analysis.

Fixes: ead9360e2fb

Backports commit 0d0304f2c4967c892a3216638fc4cb078afa2b44 from qemu
This commit is contained in:
Aleksandar Markovic 2019-08-08 19:38:16 -04:00 committed by Lioncash
parent 720aff63da
commit 572c95e709
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -10116,6 +10116,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:
@ -10125,6 +10126,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: