Remove an unused variable to suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4ba9778461
commit
714d72c90c
@ -557,7 +557,7 @@ module Net
|
|||||||
if !resp.start_with?("1")
|
if !resp.start_with?("1")
|
||||||
raise FTPReplyError, resp
|
raise FTPReplyError, resp
|
||||||
end
|
end
|
||||||
conn, peeraddr = sock.accept
|
conn, = sock.accept
|
||||||
sock.shutdown(Socket::SHUT_WR) rescue nil
|
sock.shutdown(Socket::SHUT_WR) rescue nil
|
||||||
sock.read rescue nil
|
sock.read rescue nil
|
||||||
ensure
|
ensure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user