From 68ddb831bbae9d5df0955bd9b9781b6e060f2ae6 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 9 Jul 2018 17:57:52 -0400 Subject: [PATCH] Fix compiler error --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 910b425c..448ab2a4 100644 --- a/gc.c +++ b/gc.c @@ -1473,8 +1473,6 @@ void gc_collector_sweep() { ck_array_iterator_t iterator; gc_thread_data *m; -// gc_heap *h; -// int heap_type; //#if GC_DEBUG_TRACE // size_t total_size; // size_t total_free; @@ -1485,6 +1483,8 @@ void gc_collector_sweep() // DEBUG diagnostics #if GC_DEBUG_SHOW_SWEEP_DIAG + int heap_type; + gc_heap *h; for (heap_type = 0; heap_type < NUM_HEAP_TYPES; heap_type++) { h = m->heap->heap[heap_type]; if (h) {