Navigation Menu

Skip to content

Commit

Permalink
Suppress an unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 11, 2012
1 parent 9b52d03 commit d6af49c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/grntest/tester.rb
Expand Up @@ -1188,6 +1188,7 @@ def read_error_log
normalized_error_log = ""
log.each_line do |line|
timestamp, log_level, message = line.split(/\|\s*/, 3)
_ = timestamp # suppress warning
next unless error_log_level?(log_level)
next if backtrace_log_message?(message)
normalized_error_log << "\#|#{log_level}| #{message}"
Expand Down

0 comments on commit d6af49c

Please sign in to comment.