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

ruby-changes:67378

From: aycabta <ko1@a...>
Date: Tue, 31 Aug 2021 05:45:13 +0900 (JST)
Subject: [ruby-changes:67378] a598730e79 (master): [ruby/reline] Remove an unused variable

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

From a598730e79345e4f8cac6c6e26cf0572b1610e3c Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Tue, 31 Aug 2021 05:45:04 +0900
Subject: [ruby/reline] Remove an unused variable

https://github.com/ruby/reline/commit/0ae7d8b336
---
 lib/reline/line_editor.rb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index fedbd94..e654d6b 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -580,7 +580,6 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L580
     old_dialog_contents = dialog.contents
     old_dialog_column = dialog.column
     old_dialog_vertical_offset = dialog.vertical_offset
-    start = 0
     if dialog_render_info and dialog_render_info.contents and not dialog_render_info.contents.empty?
       height = dialog_render_info.height || DIALOG_HEIGHT
       pointer = dialog_render_info.pointer
-- 
cgit v1.1


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

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