m68k: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
0d84be5bd0
commit
37ca43a141
@ -541,7 +541,6 @@ static TCGv gen_lea(DisasContext *s, uint16_t insn, int opsize)
|
||||
offset = read_im32(s);
|
||||
return gen_im32(offset);
|
||||
case 2: /* pc displacement */
|
||||
tmp = tcg_temp_new();
|
||||
offset = s->pc;
|
||||
offset += ldsw_code(s->pc);
|
||||
s->pc += 2;
|
||||
@ -2969,7 +2968,6 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
|
||||
int j, lj;
|
||||
target_ulong pc_start;
|
||||
int pc_offset;
|
||||
int last_cc_op;
|
||||
int num_insns;
|
||||
int max_insns;
|
||||
|
||||
@ -3023,7 +3021,6 @@ gen_intermediate_code_internal(CPUState *env, TranslationBlock *tb,
|
||||
}
|
||||
if (num_insns + 1 == max_insns && (tb->cflags & CF_LAST_IO))
|
||||
gen_io_start();
|
||||
last_cc_op = dc->cc_op;
|
||||
dc->insn_pc = dc->pc;
|
||||
disas_m68k_insn(env, dc);
|
||||
num_insns++;
|
||||
|
Loading…
Reference in New Issue
Block a user