[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 08/15: r/html_reports: Remove unused %saw_maintainer variable



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit c34219e0cfc5748d8a0551d888c4a755a597bd7f
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Feb 7 23:15:04 2014 +0100

    r/html_reports: Remove unused %saw_maintainer variable
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 reporting/html_reports | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/reporting/html_reports b/reporting/html_reports
index f90db48..24b0a50 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -183,7 +183,7 @@ my (%by_maint, %by_uploader, %by_tag);
 # each other's pages.  If we find two maintainers who map to the same URL,
 # just assume that the second maintainer is the same as the first (but warn
 # about it).
-my (%seen, %saw_maintainer);
+my (%seen);
 my %expanded_code = (
     E => 'errors',
     W => 'warnings',
@@ -280,7 +280,6 @@ while (<>) {
     # Check if we've seen the URL for this maintainer before and, if so, map
     # them to the same person as the previous one.
     $maintainer = map_maintainer($maintainer);
-    $saw_maintainer{$maintainer} = 1;
 
     # Update maintainer statistics.
     $statistics{maintainers}++ unless defined $by_maint{$maintainer};
@@ -325,7 +324,6 @@ while (<>) {
         for (@uploaders) {
             my $uploader = map_maintainer($_);
             next if $uploader eq $maintainer;
-            $saw_maintainer{$uploader} = 1;
             $by_uploader{$uploader}{$source}{$source_version} ||= [];
             push(@{ $by_uploader{$uploader}{$source}{$source_version} },$info);
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: