Kouhei Sutou
null+****@clear*****
Sat Aug 11 22:02:30 JST 2012
Kouhei Sutou 2012-08-11 22:02:30 +0900 (Sat, 11 Aug 2012) New Revision: d6af49c33dc367322bb4544ca11d3ba20f71722c https://github.com/groonga/grntest/commit/d6af49c33dc367322bb4544ca11d3ba20f71722c Log: Suppress an unused variable warning Modified files: lib/grntest/tester.rb Modified: lib/grntest/tester.rb (+1 -0) =================================================================== --- lib/grntest/tester.rb 2012-08-11 22:01:51 +0900 (929a4b2) +++ lib/grntest/tester.rb 2012-08-11 22:02:30 +0900 (133df5a) @@ -1188,6 +1188,7 @@ EOF 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}" -------------- next part -------------- HTML����������������������������...Download