mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 17:27:33 +02:00
Fix compiler error
This commit is contained in:
parent
35a8784236
commit
68ddb831bb
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -1473,8 +1473,6 @@ void gc_collector_sweep()
|
||||||
{
|
{
|
||||||
ck_array_iterator_t iterator;
|
ck_array_iterator_t iterator;
|
||||||
gc_thread_data *m;
|
gc_thread_data *m;
|
||||||
// gc_heap *h;
|
|
||||||
// int heap_type;
|
|
||||||
//#if GC_DEBUG_TRACE
|
//#if GC_DEBUG_TRACE
|
||||||
// size_t total_size;
|
// size_t total_size;
|
||||||
// size_t total_free;
|
// size_t total_free;
|
||||||
|
@ -1485,6 +1483,8 @@ void gc_collector_sweep()
|
||||||
|
|
||||||
// DEBUG diagnostics
|
// DEBUG diagnostics
|
||||||
#if GC_DEBUG_SHOW_SWEEP_DIAG
|
#if GC_DEBUG_SHOW_SWEEP_DIAG
|
||||||
|
int heap_type;
|
||||||
|
gc_heap *h;
|
||||||
for (heap_type = 0; heap_type < NUM_HEAP_TYPES; heap_type++) {
|
for (heap_type = 0; heap_type < NUM_HEAP_TYPES; heap_type++) {
|
||||||
h = m->heap->heap[heap_type];
|
h = m->heap->heap[heap_type];
|
||||||
if (h) {
|
if (h) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue