diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-23 05:32:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-23 05:32:46 +0000 |
commit | 0de2d84af82935ba01ba1d3328c9fdcf287bf3e1 (patch) | |
tree | d1b58d756f4bebf7f4fb9ab8a8ad1b8cf300ad5e /test/ruby/test_thread.rb | |
parent | d514cd3ca0dedfd62e86698e53b4dc01dff75ed2 (diff) | |
download | ruby-0de2d84af82935ba01ba1d3328c9fdcf287bf3e1.tar.gz |
Clean warnings: unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_thread.rb')
-rw-r--r-- | test/ruby/test_thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 3c10cce3c3..0322448c71 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -231,7 +231,7 @@ class TestThread < Test::Unit::TestCase t1 = Thread.new { sleep } Thread.pass t2 = Thread.new { loop { } } - t3 = Thread.new { }.join + Thread.new { }.join p [Thread.current, t1, t2].map{|t| t.object_id }.sort p Thread.list.map{|t| t.object_id }.sort INPUT |