1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Removed unused variable

This commit is contained in:
Nobuyoshi Nakada 2019-06-28 14:09:02 +09:00
parent ef45fd53e4
commit 951f80f2dd
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -47,7 +47,7 @@ class RubyLex
result = []
lines.each_index { |i|
c = lines[0..i].map{ |l| l + "\n" }.join
ltype, indent, continue, code_block_open = check_state(c)
ltype, indent, continue, = check_state(c)
result << @prompt.call(ltype, indent, continue, @line_no + i)
}
result