release-notes: fix warning

Follow-up to 2ec54556d4

Closes #18133
This commit is contained in:
Daniel Stenberg 2025-08-01 15:41:31 +02:00
parent 32cab35a0c
commit 8df0a5ba32
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -219,7 +219,9 @@ for my $l (@releasenotes) {
push @o, sprintf " o %s%s\n", $f,
$moreinfo{$f}? sprintf(" [%d]", $moreinfo{$f}): "";
$refused[$moreinfo{$f}]=3;
if($moreinfo{$f}) {
$refused[$moreinfo{$f}]=3;
}
}
push @o, " --- new entries are listed above this ---";
next;