Project

General

Profile

Bug #14020

Not really a bug, more a warning - in net/ftp.rb line 331, unused variable sock

Added by shevegen (Robert A. Heiler) almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-10-16) [x86_64-linux]
[ruby-core:83313]

Description

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?

#1

Updated by Anonymous almost 3 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r60198.


Fix warning: assigned but unused variable

[Bug #14020][ruby-core:83313]

Also available in: Atom PDF