From 1d48352df6dd715ee357af799781e5a5b1439190 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 8 Mar 2007 23:49:05 +0000 Subject: [PATCH] More nvi cleanups. --- bugcounts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bugcounts b/bugcounts index 46cdf36..b0337fc 100755 --- a/bugcounts +++ b/bugcounts @@ -64,12 +64,7 @@ for my $p (keys %scanlib::packagelist) { my $sect = ($scanlib::comments{$nr} =~ m/\[([^]]*)\]/); $sectcount{$sect}++; } - unless ($scanlib::bugs{$nr} =~ m/^\[[^]]*I/ or - $scanlib::bugs{$nr} =~ m/ \[[^]]*X/ or - ($scanlib::bugs{$nr} =~ m/ \[[^]]*[OSUE]/ and $scanlib::bugs{$nr} !~ m/ \[[^]]*T/)) { - $worrycount++; - # print STDERR "$nr $bugs{$nr}\n"; - } + $worrycount++ if (scanlib::check_worry($scanlib::bugs{$nr})); } if (defined($scanlib::comments{$p}) && $scanlib::comments{$p} =~ m/^\[REMOVE\]/) { -- 2.39.2