diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 18:58:25 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 18:58:25 +0000 |
commit | 7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450 (patch) | |
tree | efca3acd6143b74c92f92934f28e80019c14b776 /target-i386/translate.c | |
parent | 9678d9501bc5f2e6e06170013dec8667057c3b62 (diff) | |
download | qemu-7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450.tar.gz qemu-7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450.tar.bz2 qemu-7f5b7d3e2c19c0aa52dcac0a10d473c7fd142450.zip |
x86: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index 307aabdd30..6311b6865c 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -763,7 +763,6 @@ static void gen_check_io(DisasContext *s, int ot, target_ulong cur_eip, if (s->cc_op != CC_OP_DYNAMIC) gen_op_set_cc_op(s->cc_op); gen_jmp_im(cur_eip); - state_saved = 1; } svm_flags |= (1 << (4 + ot)); next_eip = s->pc - s->cs_base; @@ -7744,7 +7743,7 @@ static inline void gen_intermediate_code_internal(CPUState *env, target_ulong pc_ptr; uint16_t *gen_opc_end; CPUBreakpoint *bp; - int j, lj, cflags; + int j, lj; uint64_t flags; target_ulong pc_start; target_ulong cs_base; @@ -7755,7 +7754,6 @@ static inline void gen_intermediate_code_internal(CPUState *env, pc_start = tb->pc; cs_base = tb->cs_base; flags = tb->flags; - cflags = tb->cflags; dc->pe = (flags >> HF_PE_SHIFT) & 1; dc->code32 = (flags >> HF_CS32_SHIFT) & 1; |