[SCM] Debian package checker branch, master, updated. 2.5.14-3-g5f231d8
The following commit has been merged in the master branch:
commit 5f231d86a16656a9e8d8f76045e2eafb0672f610
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jun 29 21:43:35 2013 +0200
c/manpages.pm: Remove redundant variable
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/manpages.pm b/checks/manpages.pm
index c6d24a0..0dc841a 100644
--- a/checks/manpages.pm
+++ b/checks/manpages.pm
@@ -86,7 +86,7 @@ foreach my $file ($info->sorted_index) {
tag 'manpage-in-wrong-directory', $file;
next;
}
- my ($section,$name) = ($1,$fname);
+ my $section = $1;
my $lang = '';
$lang = $1 if $t =~ m,^/([^/]+)/man\d/$,o;
@@ -97,7 +97,7 @@ foreach my $file ($info->sorted_index) {
tag 'manpage-locale-dir-country-specific', $file;
}
- my @pieces = split(/\./, $name);
+ my @pieces = split(/\./, $fname);
my $ext = pop @pieces;
if ($ext ne 'gz') {
push @pieces, $ext;
--
Debian package checker
Reply to: