x86: fix a compilation warning on unused variable

This commit is contained in:
Nguyen Anh Quynh 2015-12-28 13:06:25 +08:00
parent b5feddbf1e
commit f10d79e95f

View file

@ -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;