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

[lintian] 01/01: L::Tags: Always emit unused-overrides



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

nthykier pushed a commit to branch master
in repository lintian.

commit 8dda8da3a4c97303f1a40a69fbd3a554344d5bbe
Author: Niels Thykier <niels@thykier.net>
Date:   Sat May 14 19:48:11 2016 +0000

    L::Tags: Always emit unused-overrides
    
    This appears to have been a regression in c06bbf0.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/changelog    | 4 ++++
 lib/Lintian/Tags.pm | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7f9ad04..0e06c21 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -72,6 +72,10 @@ lintian (2.5.45) UNRELEASED; urgency=medium
 
   * lib/Lintian/DepMap.pm:
     + [JW] Fix typos.
+  * lib/Lintian/Tags.pm:
+    + [JW,NT]: Always report unused overrides for all packages
+      processed.  Thanks to Andreas Beckmann for the report.
+      (Closes: #792191)
 
   * private/refresh-hwcap:
     + [JW] Make the ld.so manpage parser work with the current version.
diff --git a/lib/Lintian/Tags.pm b/lib/Lintian/Tags.pm
index bc24c5d..81679a2 100644
--- a/lib/Lintian/Tags.pm
+++ b/lib/Lintian/Tags.pm
@@ -487,8 +487,7 @@ sub file_start {
         overrides => {},
     };
     if ($self->{current}) {
-        my $info = $self->{info}{$self->{current}};
-        $Lintian::Output::GLOBAL->print_end_pkg($info);
+        $self->file_end;
     }
     $self->{current} = $file;
     $Lintian::Output::GLOBAL->print_start_pkg($self->{info}{$file});

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


Reply to: