diff --git a/qemu/accel/tcg/translate-all.c b/qemu/accel/tcg/translate-all.c index 618a1ed4..b580b491 100644 --- a/qemu/accel/tcg/translate-all.c +++ b/qemu/accel/tcg/translate-all.c @@ -1806,7 +1806,6 @@ void tb_check_watchpoint(CPUState *cpu) } else { /* The exception probably happened in a helper. The CPU state should have been saved before calling it. Fetch the PC from there. */ - CPUArchState *env = cpu->env_ptr; target_ulong pc, cs_base; tb_page_addr_t addr; uint32_t flags;