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) over 1 year ago. Updated over 1 year 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?

Associated revisions

Revision 73d128ff
Added by kazu over 1 year ago

Fix warning: assigned but unused variable

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 60198
Added by znz (Kazuhiro NISHIYAMA) over 1 year ago

Fix warning: assigned but unused variable

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

Revision 60198
Added by kazu over 1 year ago

Fix warning: assigned but unused variable

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

Revision 60198
Added by kazu over 1 year ago

Fix warning: assigned but unused variable

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

History

#1

Updated by Anonymous over 1 year 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