ruby-changes:65280
From: Nobuyoshi <ko1@a...>
Date: Wed, 17 Feb 2021 20:28:20 +0900 (JST)
Subject: [ruby-changes:65280] 42a16e5974 (master): Removed no-longer used variable
https://git.ruby-lang.org/ruby.git/commit/?id=42a16e5974 From 42a16e5974c3919755013eeee0debb16ffb69ff5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 17 Feb 2021 20:15:05 +0900 Subject: Removed no-longer used variable --- gc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gc.c b/gc.c index 73157a6..63a2268 100644 --- a/gc.c +++ b/gc.c @@ -4860,7 +4860,6 @@ gc_page_sweep(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *sweep_ https://github.com/ruby/ruby/blob/trunk/gc.c#L4860 { int i; int empty_slots = 0, freed_slots = 0, final_slots = 0; - int was_compacting = 0; RVALUE *p, *offset; bits_t *bits, bitset; @@ -4877,7 +4876,6 @@ gc_page_sweep(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *sweep_ https://github.com/ruby/ruby/blob/trunk/gc.c#L4876 asan_unpoison_memory_region(&sweep_page->freelist, sizeof(RVALUE*), false); sweep_page->freelist = NULL; asan_poison_memory_region(&sweep_page->freelist, sizeof(RVALUE*)); - was_compacting = 1; } } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/