[ruby/reline] Remove unused variable
(https://github.com/ruby/reline/pull/684) https://github.com/ruby/reline/commit/ce30c23730
This commit is contained in:
parent
0f1ef19fcd
commit
a3b7a7bc21
@ -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?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user