mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix warning: assigned but unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1056f545d9
commit
c29026204e
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ class URI::TestGeneric < Test::Unit::TestCase
|
|||
|
||||
def shift
|
||||
return nil if @h.empty?
|
||||
kd, (k, v) = @h.shift
|
||||
_kd, (k, v) = @h.shift
|
||||
[k, v]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue