diff options
author | aycabta <aycabta@gmail.com> | 2019-05-14 00:03:15 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-05-14 07:12:59 +0900 |
commit | 741321704fa1e4f180c853684a8ceaa6eff3b469 (patch) | |
tree | 69bc5fb349a7c0dc547842b26ed9cef8470c4c65 /lib | |
parent | 79ead821dd4880725c9c6bb9645b3fad71715c5b (diff) | |
download | ruby-741321704fa1e4f180c853684a8ceaa6eff3b469.tar.gz |
Remove unused variable in LineEditor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/reline/line_editor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 1b60b67923..50f11f6480 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -881,7 +881,7 @@ class Reline::LineEditor else chr = key.is_a?(String) ? key : key.chr(Encoding::ASCII_8BIT) if chr.match?(/[[:print:]]/) - search_word = searcher.resume(key) + searcher.resume(key) else if @history_pointer @line = Reline::HISTORY[@history_pointer] |