summaryrefslogtreecommitdiff
path: root/autodoc.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-07 10:10:28 -0600
committerKarl Williamson <khw@cpan.org>2022-05-07 10:13:59 -0600
commitcee1b1cc973a4e27c4e32a871b7e6c557daa4db7 (patch)
treeb42f3992aa0f3ebea8b087c293c1261befff66b5 /autodoc.pl
parent072be79ca84352d0baab09d7f961bdc472a40b3f (diff)
downloadperl-cee1b1cc973a4e27c4e32a871b7e6c557daa4db7.tar.gz
autodoc: Rmv obsolete line
This defines a variable if not defined, and dates from earlier logic, and wasn't removed when that logic changed. This line hid bugs that the next line is supposed to catch.
Diffstat (limited to 'autodoc.pl')
-rw-r--r--autodoc.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/autodoc.pl b/autodoc.pl
index 0a50e51e6e..b99ffa5088 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -619,7 +619,6 @@ sub autodoc ($$) { # parse a file and extract documentation info
# Here, we have accumulated into $text, the pod for $element_name
my $where = $flags =~ /A/ ? 'api' : 'guts';
- $section = "Functions in file $file" unless defined $section;
die "No =for apidoc_section nor =head1 in $file for '$element_name'\n"
unless defined $section;
if (exists $docs{$where}{$section}{$element_name}) {