mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clean warnings: unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d514cd3ca0
commit
0de2d84af8
9 changed files with 12 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue