[libconfig-model-dpkg-perl] 05/07: remove dead code

dod at debian.org dod at debian.org
Mon Aug 21 17:54:31 UTC 2017


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit fa6e9c3b32402da9fe6de03c30f2ee03f2681a65
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Aug 18 19:44:07 2017 +0200

    remove dead code
---
 lib/Config/Model/Dpkg/Dependency.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index f21115e..481c798 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -793,7 +793,6 @@ sub check_or_fix_dep {
 sub warn_or_remove_vers_dep {
     my ( $self, $apply_fix, $dep_info, $list, $msgs ) = @_;
     my $pkg = $dep_info->{name};
-    my ($oper, $vers) = @{ $dep_info->{dep} || []};
 
     my $msg = "unnecessary greater-than versioned dependency: ". $self-> struct_to_dep($dep_info)
         . ". Debian has @$list";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list