From ec6929a5ddf2c00ad991484daad7f73cec36f29b Mon Sep 17 00:00:00 2001 From: aycabta Date: Thu, 28 Jan 2021 16:25:48 +0900 Subject: [PATCH] [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 ca1df53310..4a635031a3 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -466,7 +466,6 @@ class Reline::LineEditor 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