diff --git a/gc.c b/gc.c index 88efedc7df..d4f21f9a09 100644 --- a/gc.c +++ b/gc.c @@ -8521,7 +8521,7 @@ gc_compact_move(rb_objspace_t *objspace, rb_heap_t *heap, rb_size_pool_t *size_p if (dheap->sweeping_page->free_slots > 0) { heap_add_freepage(dheap, dheap->sweeping_page); - }; + } dheap->sweeping_page = ccan_list_next(&dheap->pages, dheap->sweeping_page, page_node); if (gc_compact_heap_cursors_met_p(dheap)) {