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

Suppress unused variable warning

This commit is contained in:
Nobuyoshi Nakada 2019-06-30 22:48:39 +09:00
parent fc4abbfcd0
commit 9cb58f1698
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -30,7 +30,7 @@ testdata( File.dirname($0) + '/scandata', ARGV ).each do |file|
begin
ok = File.read(file)
s = Racc::GrammarFileScanner.new( ok )
sym, (val, lineno) = s.scan
sym, (val, _lineno) = s.scan
if printonly then
$stderr.puts
$stderr.puts val