Fix compiler warning when USE_RVARGC=0
This commit is contained in:
parent
51fab06017
commit
708e839dee
Notes:
git
2022-05-14 05:27:00 +09:00
2
gc.c
2
gc.c
@ -5602,7 +5602,7 @@ gc_sweep_start(rb_objspace_t *objspace)
|
|||||||
rb_size_pool_t *size_pool = &size_pools[i];
|
rb_size_pool_t *size_pool = &size_pools[i];
|
||||||
rb_heap_t *heap = SIZE_POOL_EDEN_HEAP(size_pool);
|
rb_heap_t *heap = SIZE_POOL_EDEN_HEAP(size_pool);
|
||||||
|
|
||||||
gc_sweep_start_heap(objspace, SIZE_POOL_EDEN_HEAP(size_pool));
|
gc_sweep_start_heap(objspace, heap);
|
||||||
|
|
||||||
#if USE_RVARGC
|
#if USE_RVARGC
|
||||||
/* We should call gc_sweep_finish_size_pool for size pools with no pages. */
|
/* We should call gc_sweep_finish_size_pool for size pools with no pages. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user