mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
tidy-up: miscellaneous
- drop more uses of the word "just". (not enforced here) - drop some uses of the "will" word. - "then" -> "than". - tests/http/testenv/curl.py: fix copy-paste typo in error message. - pytest: replace `shutdownh` with `shutdown` in test names. Spotted by GitHub Code Quality. - comment typos. - whitespace and newlines fixes. Closes #21830
This commit is contained in:
parent
032b15c434
commit
d229055549
116 changed files with 184 additions and 185 deletions
|
|
@ -879,7 +879,7 @@ sub scanfile {
|
|||
}
|
||||
}
|
||||
|
||||
# check for "return" with parentheses around just a value/name
|
||||
# check for "return" with parentheses around a value/name
|
||||
if($l =~ /^(.*\W)return \(\w*\);/) {
|
||||
checkwarn("RETURNPAREN", $line, length($1)+7, $file, $l,
|
||||
"return with paren");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue