mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix warning: assigned but unused variable
[Bug #14020][ruby-core:83313] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c5fd4cd732
commit
73d128ff2c
1 changed files with 2 additions and 2 deletions
|
@ -328,9 +328,9 @@ module Net
|
|||
return Timeout.timeout(@open_timeout, OpenTimeout) {
|
||||
if defined? SOCKSSocket and ENV["SOCKS_SERVER"]
|
||||
@passive = true
|
||||
sock = SOCKSSocket.open(host, port)
|
||||
SOCKSSocket.open(host, port)
|
||||
else
|
||||
sock = Socket.tcp(host, port)
|
||||
Socket.tcp(host, port)
|
||||
end
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue