Remove unused variables

tags/zabbix-agent-addons-0.2.101-1
Daniel Berteaud 5 years ago
parent 14853e81b4
commit 7ded61c8af
  1. 3
      zabbix_scripts/check_backuppc_sudo

@ -33,7 +33,6 @@ my $json = {};
if ( $host ) { if ( $host ) {
my $hostConf = $bpc->ConfigDataRead($host); my $hostConf = $bpc->ConfigDataRead($host);
my $conf = { %$mainConf, %$hostConf }; my $conf = { %$mainConf, %$hostConf };
my $age = -1;
$json = { $json = {
bkp => 0, bkp => 0,
full_size => 0, full_size => 0,
@ -47,8 +46,6 @@ if ( $host ) {
comp_ratio => 0 comp_ratio => 0
}; };
my $lastXferErrors = 0;
my $maxErrors = 0;
my $new_size_of_last_full = 0; my $new_size_of_last_full = 0;
my @bpc_info = $bpc->BackupInfoRead($host); my @bpc_info = $bpc->BackupInfoRead($host);
my $sizes = new Statistics::Descriptive::Full; my $sizes = new Statistics::Descriptive::Full;

Loading…
Cancel
Save