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

[SCM] Debian package checker branch, master, updated. 2.5.4-30-g93f0779



The following commit has been merged in the master branch:
commit 93f077939c3d0b5b4d8faf3462dca9cbb58492c7
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Dec 4 22:17:54 2011 +0100

    Removed an unused variable from lintian-info
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/frontend/lintian-info b/frontend/lintian-info
index a702479..29b08dd 100755
--- a/frontend/lintian-info
+++ b/frontend/lintian-info
@@ -112,15 +112,15 @@ while (<>) {
     s/<span style=\"[^\"]+\">//g;
     s,</span>,,g;
 
-    my ($type, $pkg);
+    my $type;
     my @pieces = split(/:\s+/);
     if ($annotate) {
         $type = shift @pieces if ($pieces[0] =~ /^\w$/);
-        $pkg = shift @pieces if
+        shift @pieces if
             ($pieces[0] =~ /^\S+( (binary|changes|udeb))?$/);
     } else {
         $type = shift @pieces;
-        $pkg = shift @pieces;
+        shift @pieces;
     }
     if ($annotate or (defined $type and $type =~ m/^[OEWIXP]$/)) {
         my $tag = shift @pieces;

-- 
Debian package checker


Reply to: