[pmg-devel] [PATCH pmg-api 1/2] pmgqm: remove unused variable
Stoiko Ivanov
s.ivanov at proxmox.com
Thu Apr 2 19:51:44 CEST 2020
noticed while looking over the code - no other occurence of lastref in
the repository - so can safely be dropped.
Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
src/PMG/CLI/pmgqm.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/PMG/CLI/pmgqm.pm b/src/PMG/CLI/pmgqm.pm
index 64bafc5..349816a 100755
--- a/src/PMG/CLI/pmgqm.pm
+++ b/src/PMG/CLI/pmgqm.pm
@@ -297,7 +297,6 @@ __PACKAGE__->register_method ({
$sth->execute();
}
- my $lastref;
my $mailcount = 0;
my $creceiver = '';
my $data;
@@ -333,7 +332,6 @@ __PACKAGE__->register_method ({
push @{$data->{items}}, get_item_data($data, $ref);
$mailcount++;
- $lastref = $ref;
}
$sth->finish();
--
2.20.1
More information about the pmg-devel
mailing list