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

[lintian] 01/02: c/apache2: Remove redundant if



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

nthykier pushed a commit to branch master
in repository lintian.

commit c4c3ce48a13c4bf5abdc0290aff5ce73b8014533
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Oct 22 12:35:25 2016 +0000

    c/apache2: Remove redundant if
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/apache2.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/checks/apache2.pm b/checks/apache2.pm
index fd796bf..7b0b813 100644
--- a/checks/apache2.pm
+++ b/checks/apache2.pm
@@ -39,7 +39,6 @@ sub run {
     # whether the package appears to be an Apache2 module/web application
     my $seen_apache2_special_file = 0;
 
-    if ($type eq 'binary') {
         foreach my $file ($info->sorted_index) {
 
             # File is probably not relevant to us, ignore it
@@ -89,7 +88,6 @@ sub run {
         if ($seen_apache2_special_file) {
             check_maintainer_scripts($info);
         }
-    }
     return;
 }
 

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


Reply to: