Bug #4188: minitest warnings in 1.9.3
http://redmine.ruby-lang.org/issues/show/4188

Author: Aaron Patterson
Status: Open, Priority: Normal
Assigned to: Ryan Davis
ruby -v: ruby 1.9.3dev (2010-12-23 trunk 30299) [x86_64-darwin10.5.0]

When running tests with minitests, I get warnings:

/Users/apatterson/.local/lib/ruby/1.9.1/minitest/unit.rb:631: warning: as=
signed but unused variable - ac
/Users/apatterson/.local/lib/ruby/1.9.1/minitest/unit.rb:632: warning: as=
signed but unused variable - tc

I've attached a patch that fists the problem.


----------------------------------------
http://redmine.ruby-lang.org
ZGlmZiAtLWdpdCBhL2xpYi9taW5pdGVzdC91bml0LnJiIGIvbGliL21pbml0
ZXN0L3VuaXQucmIKaW5kZXggZTgwMTMxNS4uMjc5MzA4MSAxMDA2NDQKLS0t
IGEvbGliL21pbml0ZXN0L3VuaXQucmIKKysrIGIvbGliL21pbml0ZXN0L3Vu
aXQucmIKQEAgLTYyOCw4ICs2MjgsOCBAQCBtb2R1bGUgTWluaVRlc3QKIAog
ICAgICAgcmVzdWx0cyA9IF9ydW5fc3VpdGVzIHN1aXRlcywgdHlwZQogCi0g
ICAgICBAdGVzdF9jb3VudCAgICAgID0gcmVzdWx0cy5pbmplY3QoMCkgeyB8
c3VtLCAodGMsIGFjKXwgc3VtICsgdGMgfQotICAgICAgQGFzc2VydGlvbl9j
b3VudCA9IHJlc3VsdHMuaW5qZWN0KDApIHsgfHN1bSwgKHRjLCBhYyl8IHN1
bSArIGFjIH0KKyAgICAgIEB0ZXN0X2NvdW50ICAgICAgPSByZXN1bHRzLmlu
amVjdCgwKSB7IHxzdW0sICh0YywgXyl8IHN1bSArIHRjIH0KKyAgICAgIEBh
c3NlcnRpb25fY291bnQgPSByZXN1bHRzLmluamVjdCgwKSB7IHxzdW0sIChf
LCBhYyl8IHN1bSArIGFjIH0KIAogICAgICAgb3V0cHV0LnN5bmMgPSBvbGRf
c3luYyBpZiBzeW5jCiAK