From 714d72c90cd396c183f8521143af5129d35b97ae Mon Sep 17 00:00:00 2001 From: shugo Date: Sun, 20 Nov 2016 09:11:44 +0000 Subject: [PATCH] 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