mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unused variable in LineEditor
This commit is contained in:
parent
79ead821dd
commit
741321704f
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue