From cee1b1cc973a4e27c4e32a871b7e6c557daa4db7 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 7 May 2022 10:10:28 -0600 Subject: 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. --- autodoc.pl | 1 - 1 file changed, 1 deletion(-) (limited to 'autodoc.pl') 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}) { -- cgit v1.2.1