From a3b7a7bc21d91d384a915bcaa1fd49909061d78d Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Wed, 17 Apr 2024 13:10:48 +0900 Subject: [PATCH] [ruby/reline] Remove unused variable (https://github.com/ruby/reline/pull/684) https://github.com/ruby/reline/commit/ce30c23730 --- 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 6e5ef11bc0..b2a963c6ab 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -1720,7 +1720,6 @@ class Reline::LineEditor return if @history_pointer.nil? history_range = @history_pointer + 1...Reline::HISTORY.size - history = Reline::HISTORY.slice((@history_pointer + 1)..-1) h_pointer, line_index = search_history(substr, history_range) return if h_pointer.nil? and not substr.empty?