[lintian] 02/02: L::Data: Remove unused variable
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit c57d37252eac09df39479bedcb4cd86fdc2fe569
Author: Niels Thykier <niels@thykier.net>
Date: Sun Mar 2 10:48:56 2014 +0100
L::Data: Remove unused variable
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Lintian/Data.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/Lintian/Data.pm b/lib/Lintian/Data.pm
index e6fca55..ac8ccd1 100644
--- a/lib/Lintian/Data.pm
+++ b/lib/Lintian/Data.pm
@@ -159,8 +159,6 @@ sub _parse_file {
} elsif ($op eq 'if-vendor-is' or $op eq 'if-vendor-is-not') {
my ($desired_name, $remain) = split(m{ \s++ }xsm, $value, 2);
my $actual_name;
- my $negative_test = 0;
- $negative_test = 1 if $op eq 'if-vendor-is-not';
croak "Missing vendor name after \@$op"
unless $desired_name;
croak "Missing command after vendor name for \@$op"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: