mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:03:40 +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
|
|
@ -195,14 +195,14 @@ static const char *disabled[] = {
|
|||
#endif
|
||||
,
|
||||
"large-time: "
|
||||
#if (SIZEOF_TIME_T < 5)
|
||||
#if SIZEOF_TIME_T < 5
|
||||
"OFF"
|
||||
#else
|
||||
"ON"
|
||||
#endif
|
||||
,
|
||||
"large-size: "
|
||||
#if (SIZEOF_SIZE_T < 5)
|
||||
#if SIZEOF_SIZE_T < 5
|
||||
"OFF"
|
||||
#else
|
||||
"ON"
|
||||
|
|
|
|||
|
|
@ -197,14 +197,13 @@ static ParameterError extract_param(char *line,
|
|||
* Updates *configp if a new operation config is allocated.
|
||||
* Returns PARAM_OK if processing should continue, or an error code.
|
||||
*/
|
||||
static ParameterError
|
||||
process_config_result(ParameterError res,
|
||||
struct OperationConfig **configp,
|
||||
const char *param,
|
||||
bool usedarg,
|
||||
const char *filename,
|
||||
int lineno,
|
||||
const char *option)
|
||||
static ParameterError process_config_result(ParameterError res,
|
||||
struct OperationConfig **configp,
|
||||
const char *param,
|
||||
bool usedarg,
|
||||
const char *filename,
|
||||
int lineno,
|
||||
const char *option)
|
||||
{
|
||||
if(!res && param && *param && !usedarg)
|
||||
/* we passed in a parameter that was not used! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue