Use underscore-begging name for dummy variables to suppress warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7424e9e8dd
commit
05db61c25d
@ -575,7 +575,7 @@ class TestThread < Test::Unit::TestCase
|
|||||||
def test_async_interrupt_with_return
|
def test_async_interrupt_with_return
|
||||||
assert_nothing_raised do
|
assert_nothing_raised do
|
||||||
for_test_async_interrupt_with_return
|
for_test_async_interrupt_with_return
|
||||||
dummy_for_check_ints=nil
|
_dummy_for_check_ints=nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -588,7 +588,7 @@ class TestThread < Test::Unit::TestCase
|
|||||||
}
|
}
|
||||||
rescue
|
rescue
|
||||||
end
|
end
|
||||||
dummy_for_check_ints=nil
|
_dummy_for_check_ints=nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user