[前][次][番号順一覧][スレッド一覧]

ruby-changes:63509

From: Yusuke <ko1@a...>
Date: Tue, 3 Nov 2020 23:33:19 +0900 (JST)
Subject: [ruby-changes:63509] c3e2dd072a (master): test/ruby/test_gc_compact.rb: suppress "assigned but unused variable"

https://git.ruby-lang.org/ruby.git/commit/?id=c3e2dd072a

From c3e2dd072aa46be3d13faff9a5fed0ba64b2b680 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Tue, 3 Nov 2020 23:32:40 +0900
Subject: test/ruby/test_gc_compact.rb: suppress "assigned but unused variable"


diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index 0ceb54d..3aad9e6 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -55,7 +55,6 @@ class TestGCCompact < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L55
 
   def test_gc_compact_stats
     list = []
-    list2 = []
 
     # Try to make some fragmentation
     500.times {
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]