From 7ded61c8af0bbe5aee379cdc55d190fa5a3e1612 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 15 Dec 2019 17:07:41 +0100 Subject: [PATCH] Remove unused variables --- zabbix_scripts/check_backuppc_sudo | 3 --- 1 file changed, 3 deletions(-) diff --git a/zabbix_scripts/check_backuppc_sudo b/zabbix_scripts/check_backuppc_sudo index 2a4ec3e..5bbdb7e 100644 --- a/zabbix_scripts/check_backuppc_sudo +++ b/zabbix_scripts/check_backuppc_sudo @@ -33,7 +33,6 @@ my $json = {}; if ( $host ) { my $hostConf = $bpc->ConfigDataRead($host); my $conf = { %$mainConf, %$hostConf }; - my $age = -1; $json = { bkp => 0, full_size => 0, @@ -47,8 +46,6 @@ if ( $host ) { comp_ratio => 0 }; - my $lastXferErrors = 0; - my $maxErrors = 0; my $new_size_of_last_full = 0; my @bpc_info = $bpc->BackupInfoRead($host); my $sizes = new Statistics::Descriptive::Full;