From 2f2fa63310e8db68386e6a8403e4296c9072e202 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 27 Sep 2019 15:05:28 +0200 Subject: [PATCH] clean code --- Check.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/Check.pm b/Check.pm index 4387d65..e65a954 100644 --- a/Check.pm +++ b/Check.pm @@ -168,9 +168,6 @@ if ( $host ) { foreach my $backup ( @bpc_info ) { # Skip partial or active backups next if ( $backup->{type} !~ m/^full|incr$/ ); - if ( $backup->{type} eq "full" ) { - $last_full_num = $backup->{num}; - } # Push all the sizes in our data set to compute avg sizes # Exclude backup N°0 as it'll always have much more new data than normal backups $sizes->add_data($backup->{sizeNew}) unless ( $backup->{num} == 0 );