[lintian] 01/01: c/cruft.pm: Remove some dead code
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit cbe8659afa93c667ab076415596f29e9b0d799b7
Author: Niels Thykier <niels@thykier.net>
Date: Sat Sep 21 20:38:20 2013 +0200
c/cruft.pm: Remove some dead code
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/cruft.pm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/checks/cruft.pm b/checks/cruft.pm
index c3de724..cbb2919 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -146,9 +146,6 @@ sub run {
} elsif (not $info->native) {
check_diffstat($info->diffstat, \%warned);
}
- my $uroot = $info->unpacked;
- my $abs = Cwd::abs_path("$uroot/") or fail "abs_path $uroot: $!";
- $abs =~ s,/$,,; # remove the trailing slash if any
find_cruft($info, \%warned, $atdinbd, $ltinbd);
for my $file (@EOL_TERMINATORS_FILES) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: