]> git.proxmox.com Git - pmg-api.git/commitdiff
package versions: code cleanup: remove unused variable
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Apr 2019 07:37:16 +0000 (09:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Apr 2019 07:37:16 +0000 (09:37 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PMG/API2/APT.pm

index f5783319d76de0c49cb93d578e57f1e784cb6311..aa2d45eb6078126831086deb2db655afa7760bdf 100644 (file)
@@ -492,8 +492,6 @@ __PACKAGE__->register_method({
     code => sub {
        my ($param) = @_;
 
-       my $pkgname = $param->{name};
-
        my $cache = &$get_apt_cache();
        my $policy = $cache->policy;
        my $pkgrecords = $cache->packages();