summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/perl/OpenSSL/Util/Pod.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/perl/OpenSSL/Util/Pod.pm b/util/perl/OpenSSL/Util/Pod.pm
index 02d37d2f85..b71f3901e0 100644
--- a/util/perl/OpenSSL/Util/Pod.pm
+++ b/util/perl/OpenSSL/Util/Pod.pm
@@ -116,6 +116,7 @@ sub extract_pod_info {
my @invisible_names = ();
my %podinfo = ( section => $defaults{section});
+ $podinfo{lastsecttext} = ""; # init needed in case input file is empty
# Regexp to split a text into paragraphs found at
# https://www.perlmonks.org/?node_id=584367