mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
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_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
|
||||
/* We should call gc_sweep_finish_size_pool for size pools with no pages. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue