Project

General

Profile

Actions

Bug #14020

closed

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

Added by shevegen (Robert A. Heiler) over 6 years ago. Updated over 6 years ago.

Status:
Closed
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?

Actions #1

Updated by Anonymous over 6 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r60198.


Fix warning: assigned but unused variable

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

Actions

Also available in: Atom PDF

Like0
Like0