uc: Silence unused variable warning

This commit is contained in:
Lioncash 2018-02-22 19:58:08 -05:00
parent 9479199c6b
commit 7de8b9c67f
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

2
uc.c
View file

@ -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++) {