summaryrefslogtreecommitdiff
path: root/target-m68k
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-04-25 19:50:51 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-25 19:50:51 +0000
commit37ca43a141a9cefd6733a6e9281690cd1a1dc419 (patch)
treebb96a78af85951edd391b567ccad29e239eb3021 /target-m68k
parent0d84be5bd0df34c2663b38d6efd7d850d15f2eb0 (diff)
m68k: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-m68k')
-rw-r--r--target-m68k/translate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 99cf6ddef7..5351880c68 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -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++;