diff options
| author | Kenichi Kamiya <kachick1@gmail.com> | 2024-04-17 13:10:48 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-04-18 11:07:09 +0900 |
| commit | a3b7a7bc21d91d384a915bcaa1fd49909061d78d (patch) | |
| tree | 1ee0e4c74abd484b078f93e1ccdde620c10e3b1f /lib | |
| parent | 0f1ef19fcdc404dcf6a8ebfc44cde1a44e4d5cb9 (diff) | |
[ruby/reline] Remove unused variable
(https://github.com/ruby/reline/pull/684)
https://github.com/ruby/reline/commit/ce30c23730
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/reline/line_editor.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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? |
