mirror of https://github.com/xemu-project/xemu.git
target/i386/translate: avoid shadowed local variables
Just remove the declaration. There is nothing in the function after the switch statement, so it is safe to do. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
637123a213
commit
19729affe1
|
@ -3242,7 +3242,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
||||||
case 0x30 ... 0x35:
|
case 0x30 ... 0x35:
|
||||||
case 0x38 ... 0x3d:
|
case 0x38 ... 0x3d:
|
||||||
{
|
{
|
||||||
int op, f, val;
|
int f;
|
||||||
op = (b >> 3) & 7;
|
op = (b >> 3) & 7;
|
||||||
f = (b >> 1) & 3;
|
f = (b >> 1) & 3;
|
||||||
|
|
||||||
|
@ -3302,8 +3302,6 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
||||||
case 0x81:
|
case 0x81:
|
||||||
case 0x83:
|
case 0x83:
|
||||||
{
|
{
|
||||||
int val;
|
|
||||||
|
|
||||||
ot = mo_b_d(b, dflag);
|
ot = mo_b_d(b, dflag);
|
||||||
|
|
||||||
modrm = x86_ldub_code(env, s);
|
modrm = x86_ldub_code(env, s);
|
||||||
|
|
Loading…
Reference in New Issue