mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:07:18 +03:00
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:
parent
a638828c88
commit
68369a3198
1 changed files with 4 additions and 2 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue