Skip to content

Commit

Permalink
Remove no longer used variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 17, 2023
1 parent 7b3a531 commit 725739d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/ruby/test_gc.rb
Expand Up @@ -257,7 +257,6 @@ def test_latest_gc_info_need_major_by
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 { '*' })
Expand Down

0 comments on commit 725739d

Please sign in to comment.