[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83313] [Ruby trunk Bug#14020] Not really a bug, more a warning - in net/ftp.rb line 331, unused variable sock

From: shevegen@...
Date: 2017-10-16 15:34:57 UTC
List: ruby-core #83313
Issue #14020 has been reported by shevegen (Robert A. Heiler).

----------------------------------------
Bug #14020: Not really a bug, more a warning - in net/ftp.rb line 331, unused variable sock
https://bugs.ruby-lang.org/issues/14020

* Author: shevegen (Robert A. Heiler)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-10-16) [x86_64-linux]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Hello ruby folks,

Just a tiny warning after I compiled the latest svn from source:

  /Programs/Ruby/16.10.2017/lib/ruby/2.5.0/net/ftp.rb:331: warning: assigned but unused variable - sock

Not sure how to resolve this; if it is not used, perhaps it could be called _sock instead?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next