From 7c21d3059ed97ceb2cc797feb58e81361bfad7e1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 18 Feb 2018 17:52:03 -0500 Subject: [PATCH] memory: Silence unused variable warning --- qemu/memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qemu/memory.c b/qemu/memory.c index 7be7cd96..936ff8b0 100644 --- a/qemu/memory.c +++ b/qemu/memory.c @@ -1694,7 +1694,8 @@ void address_space_init(struct uc_struct *uc, AddressSpace *as, MemoryRegion *ro static void do_address_space_destroy(AddressSpace *as) { - MemoryListener *listener; + // Unicorn: commented out + //MemoryListener *listener; bool do_free = as->malloced; address_space_destroy_dispatch(as);