[前][次][番号順一覧][スレッド一覧]

ruby-changes:58289

From: aycabta <ko1@a...>
Date: Thu, 17 Oct 2019 16:55:12 +0900 (JST)
Subject: [ruby-changes:58289] 41457dcbe0 (master): Remove unused variable

https://git.ruby-lang.org/ruby.git/commit/?id=41457dcbe0

From 41457dcbe050a698c357b516d0a012b1b584643a Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Thu, 17 Oct 2019 16:54:06 +0900
Subject: Remove unused variable


diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index 3a7ba3e..c9028c8 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -61,7 +61,6 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L61
   end
 
   private def check_multiline_prompt(buffer, prompt)
-    special_prompt = nil
     if @vi_arg
       prompt = "(arg: #{@vi_arg}) "
       @rerender_all = true
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]