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

[lintian] 01/02: c/watch-file: Remove redundant condition



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

nthykier pushed a commit to branch master
in repository lintian.

commit b95bc55888c86b1e80ef573e7f53194297a581e2
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Feb 7 22:15:40 2016 +0000

    c/watch-file: Remove redundant condition
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/watch-file.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/checks/watch-file.pm b/checks/watch-file.pm
index 89f5700..b007cec 100644
--- a/checks/watch-file.pm
+++ b/checks/watch-file.pm
@@ -48,7 +48,6 @@ sub run {
     # source package sign, for fine grained version mangling check
     # If the version field is missing, we assume a neutral non-native one.
     my $version = $info->field('version', '0-1');
-    $version = '0-1' unless defined $version;
     if ($version =~ /(dfsg|debian|ds)/) {
         $repack = $1;
     }

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


Reply to: