mkhelp: fix to not generate a line-ending space in some cases

Fixing gcc-15:
```
bld/src/tool_hugehelp.c:11739:1: error: trailing whitespace [-Werror=trailing-whitespace=]
```
Ref: https://github.com/curl/curl/actions/runs/14758743743/job/41433794102?pr=17239#step:10:32

Closes #17240
This commit is contained in:
Viktor Szakats 2025-04-30 18:32:02 +02:00
parent a638828c88
commit 68369a3198
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -82,12 +82,14 @@ HEAD
;
my $c=0;
print " ";
for(split(//, $gzippedContent)) {
my $num=ord($_);
if(!($c % 12)) {
print " ";
}
printf(" 0x%02x,", 0+$num);
if(!(++$c % 12)) {
print "\n ";
print "\n";
}
}
print "\n};\n";