From 725739d65bf2a3369467f3b8ef9f2a0a125a4084 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 17 Jun 2023 12:32:53 +0900 Subject: [PATCH] Remove no longer used variable --- test/ruby/test_gc.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 2a7c1b507f..0f4a13211e 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -257,7 +257,6 @@ class TestGc < Test::Unit::TestCase assert_nil GC.latest_gc_info(:need_major_by) # allocate objects until need_major_by is set or major GC happens - major_count = GC.stat(:major_gc_count) objects = [] while GC.latest_gc_info(:need_major_by).nil? objects.append(100.times.map { '*' })