From 951f80f2dde2f22eab3acf53101e4c912cb60bb2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 28 Jun 2019 14:09:02 +0900 Subject: Removed unused variable --- lib/irb/ruby-lex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index af839c7aa2..234a038d67 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -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 -- cgit v1.2.1