]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
delta: fix counters
authorDaniel Stenberg <daniel@haxx.se>
Tue, 29 Jul 2025 07:27:44 +0000 (09:27 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 29 Jul 2025 07:45:07 +0000 (09:45 +0200)
Follow-up to b1df1d38afce5b2d9

Closes #18072

scripts/delta

index 6235881a27bdd4377b8b227dbc01722323350b8b..b6a1df8a17e21e6752d95760a423247ca04b2613 100755 (executable)
@@ -120,8 +120,8 @@ my $numchanges = 0;
 my $numbugfixes = 0;
 my $numcontributors = 0;
 open(F, "<RELEASE-NOTES");
+my $mode=0;
 while(<F>) {
-    my $mode=0;
     if($_ =~ /following changes:/) {
         $mode=1;
     }