mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ module Net
|
|||
if !resp.start_with?("1")
|
||||
raise FTPReplyError, resp
|
||||
end
|
||||
conn, peeraddr = sock.accept
|
||||
conn, = sock.accept
|
||||
sock.shutdown(Socket::SHUT_WR) rescue nil
|
||||
sock.read rescue nil
|
||||
ensure
|
||||
|
|
Loading…
Add table
Reference in a new issue