From 7de8b9c67f44a9b6a773e36b703e3e8c50d9a7cf Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 22 Feb 2018 19:58:08 -0500 Subject: [PATCH] uc: Silence unused variable warning --- uc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uc.c b/uc.c index d9adb19b..b7e1dfd6 100644 --- a/uc.c +++ b/uc.c @@ -285,7 +285,7 @@ static void ramlist_free_dirty_memory(struct uc_struct *uc) DirtyMemoryBlocks** blocks = uc->ram_list.dirty_memory; for (i = 0; i < DIRTY_MEMORY_NUM; i++) { - DirtyMemoryBlocks* block = uc->ram_list.dirty_memory[i]; + DirtyMemoryBlocks* block = blocks[i]; int j; for (j = 0; j < block->num_blocks; j++) {