From 6ceae7a7870ddef792f863a546082ea28530c5cf Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 27 Feb 2017 10:35:33 +0100 Subject: Remove unused sanitize_db_data() Signed-off-by: Florian Pritz --- script/borg-restore.pl | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'script') diff --git a/script/borg-restore.pl b/script/borg-restore.pl index 1876d9f..f586ed5 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -418,22 +418,6 @@ sub handle_removed_archives { } } -sub sanitize_db_data { - my $data = shift; - - my @ret; - - for my $item (@$data) { - if (defined($item)) { - push @ret, $item + 0; - } else { - push @ret, undef; - } - } - - return \@ret; -} - sub handle_added_archives { my $db = shift; my $borg_archives = shift; -- cgit v1.2.3-24-g4f1b