From 98be0cd3d6b6c3e6630e92b7d3e712220166b641 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 4 Jul 2024 09:30:39 -0600 Subject: [PATCH] autodoc: Remove useless loop Commit ef302588bff6e9cead3506a3d6117d3edd1ca9e0 added this loop, but there was a logic error. It also added a loop above it that completely empties the hash this loop is iterating over. Hence there is never anything there by the time this loop is encountered. --- autodoc.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/autodoc.pl b/autodoc.pl index 57a8958e2296..1bf46c858a07 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -1974,9 +1974,6 @@ sub add_defn { warn "no docs for $_\n"; } -for my $key (sort keys %deferreds) { - warn "no docs for $key\n"; -} foreach (sort keys %missing) { warn "Function '$_', documented in $missing{$_}, not listed in embed.fnc"