From bcaceed476e41eb8016bd039c9a52457dc1b24f0 Mon Sep 17 00:00:00 2001 From: shugo Date: Sun, 20 Nov 2016 09:11:44 +0000 Subject: 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 --- lib/net/ftp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 2e55222fbf..56f73eb475 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -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 -- cgit v1.2.3