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

[lintian] 03/07: c/r-html-reports: Remove unnecessary main() call



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

nthykier pushed a commit to branch master
in repository lintian.

commit e9e8bde120276cf3289c6405861b671a4c82201f
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Apr 25 19:22:40 2016 +0000

    c/r-html-reports: Remove unnecessary main() call
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 commands/reporting-html-reports.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/reporting-html-reports.pm b/commands/reporting-html-reports.pm
index 4e3229b..803b23d 100644
--- a/commands/reporting-html-reports.pm
+++ b/commands/reporting-html-reports.pm
@@ -122,8 +122,6 @@ my @attrs = qw(maintainers source-packages binary-packages udeb-packages
 # ------------------------------
 # Main routine
 
-main();
-
 sub main {
     my $profile = init_globals();
 
@@ -1030,6 +1028,8 @@ sub by_tag {
       || $a->{extra}             cmp $b->{extra};
 }
 
+1;
+
 # Local Variables:
 # indent-tabs-mode: nil
 # cperl-indent-level: 4

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


Reply to: