ruby-changes:44778
From: shugo <ko1@a...>
Date: Sun, 20 Nov 2016 18:11:49 +0900 (JST)
Subject: [ruby-changes:44778] shugo:r56851 (trunk): Remove an unused variable to suppress a warning.
shugo 2016-11-20 18:11:44 +0900 (Sun, 20 Nov 2016) New Revision: 56851 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56851 Log: Remove an unused variable to suppress a warning. Modified files: trunk/lib/net/ftp.rb Index: lib/net/ftp.rb =================================================================== --- lib/net/ftp.rb (revision 56850) +++ lib/net/ftp.rb (revision 56851) @@ -557,7 +557,7 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/ftp.rb#L557 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/