]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
release-notes: fix warning
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 Aug 2025 13:41:31 +0000 (15:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Aug 2025 14:02:54 +0000 (16:02 +0200)
Follow-up to 2ec54556d4e3f3ab551b5

Closes #18133

scripts/release-notes.pl

index 331941bc9baf01e9597f7cb1ef3c4175bbb30603..593d7965a308ea7e5d5fdad082a49ec586a2245b 100755 (executable)
@@ -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;