mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
tidy-up: miscellaneous
- fix typos. - badword: add two new words. - cpp: drop parentheses from standalone `#if` expressions. - libssh: vertical-align comment block with others. - clang-format. Closes #21880
This commit is contained in:
parent
982e19f231
commit
d3e9a815c4
31 changed files with 246 additions and 252 deletions
|
|
@ -244,7 +244,7 @@ static int parse_flags(const char **fmtp, unsigned int *flagsp, int use_dollar,
|
|||
fmt += 2;
|
||||
}
|
||||
else {
|
||||
#if (SIZEOF_CURL_OFF_T > SIZEOF_LONG)
|
||||
#if SIZEOF_CURL_OFF_T > SIZEOF_LONG
|
||||
flags |= FLAGS_LONGLONG;
|
||||
#else
|
||||
flags |= FLAGS_LONG;
|
||||
|
|
@ -267,14 +267,14 @@ static int parse_flags(const char **fmtp, unsigned int *flagsp, int use_dollar,
|
|||
case 'z':
|
||||
/* the code below generates a warning if -Wunreachable-code is
|
||||
used */
|
||||
#if (SIZEOF_SIZE_T > SIZEOF_LONG)
|
||||
#if SIZEOF_SIZE_T > SIZEOF_LONG
|
||||
flags |= FLAGS_LONGLONG;
|
||||
#else
|
||||
flags |= FLAGS_LONG;
|
||||
#endif
|
||||
break;
|
||||
case 'O':
|
||||
#if (SIZEOF_CURL_OFF_T > SIZEOF_LONG)
|
||||
#if SIZEOF_CURL_OFF_T > SIZEOF_LONG
|
||||
flags |= FLAGS_LONGLONG;
|
||||
#else
|
||||
flags |= FLAGS_LONG;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue