From 924e7e8ff5323dedb53a7efb678c0061d046fb44 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 26 Apr 2025 08:49:49 -0700 Subject: [PATCH] Remove useless variable --- bind8/bind8-lib.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bind8/bind8-lib.pl b/bind8/bind8-lib.pl index 5b74a421e..809b8669b 100755 --- a/bind8/bind8-lib.pl +++ b/bind8/bind8-lib.pl @@ -2486,15 +2486,13 @@ sub list_zone_names { # Check if any files have changed, or if the master config has changed, or # the PID file. -my (%files, %znc); -my ($changed, %donefile); +my (%files, %znc, $changed); my @st = stat($zone_names_cache); if (@st) { &read_file_cached_with_stat($zone_names_cache, \%znc); my $filecount = 0; foreach my $k (keys %znc) { if ($k =~ /^file_(.*)$/) { - $donefile{$1}++; my @fst = stat($1); if (!@fst || $fst[9] > $st[9] || $znc{'size_'.$1} != $fst[7]) {