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

[SCM] Debian package checker branch, master, updated. 2.5.10-28-g985b337



The following commit has been merged in the master branch:
commit 985b3372f40d9fa80ac15ca28088351410416db4
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Jul 12 22:49:58 2012 +0200

    lintian: Remove unused sub
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/frontend/lintian b/frontend/lintian
index 396c76d..1ae073c 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -1238,17 +1238,6 @@ exit $exit_code;
 
 # {{{ Some subroutines
 
-#  Check to make sure there are packages to check.
-sub set_value {
-    my ($f,$target,$field,$source,$required) = @_;
-    if ($required and not defined($source->{$field})) {
-        fail("description file $f does not define required tag $field");
-    }
-    $target->{$field} = $source->{$field};
-    delete $source->{$field};
-}
-
-
 # Given a ref to %collection_info and the path to the collection
 # directory, this will load all the collection information into
 # %collection_info.

-- 
Debian package checker


Reply to: