ruby-changes:65166
From: aycabta <ko1@a...>
Date: Sun, 7 Feb 2021 05:16:54 +0900 (JST)
Subject: [ruby-changes:65166] ec6929a5dd (master): [ruby/reline] Remove an unused variable
https://git.ruby-lang.org/ruby.git/commit/?id=ec6929a5dd From ec6929a5ddf2c00ad991484daad7f73cec36f29b Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 28 Jan 2021 16:25:48 +0900 Subject: [ruby/reline] Remove an unused variable https://github.com/ruby/reline/commit/123ea51166 --- 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 ca1df53..4a63503 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -466,7 +466,6 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L466 private def rerender_added_newline(prompt, prompt_width) scroll_down(1) - new_lines = whole_lines(index: @previous_line_index, line: @line) @buffer_of_lines[@previous_line_index] = @line @line = @buffer_of_lines[@line_index] unless @in_pasting -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/