From aadd80f1f3f5716ed402420e39230fd4db77c695 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Wed, 8 Sep 1999 23:47:37 +0000 Subject: [PATCH] do not repeat the same warning in the output. --- webtools/tinderbox/warnings.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webtools/tinderbox/warnings.pl b/webtools/tinderbox/warnings.pl index 58b8e273f9ea..f6ea8bf77c8b 100755 --- a/webtools/tinderbox/warnings.pl +++ b/webtools/tinderbox/warnings.pl @@ -254,6 +254,11 @@ sub gcc_parser { $warnings{$file}{$line}->{count}++; $total_warnings_count++; + # Do not re-add this warning if it has been seen before + for my $rec (@{ $warnings{$file}{$line}->{list} }) { + next PARSE_TOP if $rec->{warning_text} eq $warning_text; + } + # Remember where in the build log the warning occured push @{ $warnings{$file}{$line}->{list} }, { log_file => $log_file,