diff options
author | Matt Valentine-House <matt@eightbitraptor.com> | 2022-05-13 20:24:05 +0100 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-05-13 16:26:41 -0400 |
commit | 708e839dee57bc5ef8f5b21fb4fa620e89caeb52 (patch) | |
tree | 9b743a138cb49f39ab98b0daeffc1d813d98c32b | |
parent | 51fab06017d1c8d78ecd6aad95b00ab3d94b515f (diff) |
Fix compiler warning when USE_RVARGC=0
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5909
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |