From f10d79e95f9cf808b6d1d48dfb0a26466fba8f43 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 28 Dec 2015 13:06:25 +0800 Subject: [PATCH] x86: fix a compilation warning on unused variable --- qemu/target-i386/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target-i386/helper.c b/qemu/target-i386/helper.c index b8ffbc28..5341094e 100644 --- a/qemu/target-i386/helper.c +++ b/qemu/target-i386/helper.c @@ -523,7 +523,7 @@ int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, int is_dirty, prot, page_size, is_write, is_user; hwaddr paddr; uint64_t rsvd_mask = PG_HI_RSVD_MASK; - uint32_t page_offset; + //uint32_t page_offset; target_ulong vaddr; is_user = mmu_idx == MMU_USER_IDX;