mirror of
https://github.com/curl/curl.git
synced 2026-05-15 07:26:20 +03:00
clang-tidy: check readability-redundant-preprocessor, fix fallouts
Also: - cipher_suite: merge `USE_MBEDTLS` `#if` blocks. Ref: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-preprocessor.html Closes #20628
This commit is contained in:
parent
bd60df527c
commit
3cdc167425
4 changed files with 2 additions and 13 deletions
|
|
@ -281,13 +281,11 @@ void tool_help(const char *category)
|
|||
curl_msnprintf(cmdbuf, sizeof(cmdbuf), "\n --no-%s", a->lname);
|
||||
else
|
||||
curl_msnprintf(cmdbuf, sizeof(cmdbuf), "\n %s", category);
|
||||
#ifdef USE_MANUAL
|
||||
if(a->cmd == C_XATTR)
|
||||
/* this is the last option, which then ends when FILES starts */
|
||||
showhelp("\nALL OPTIONS\n", cmdbuf, "\nFILES");
|
||||
else
|
||||
showhelp("\nALL OPTIONS\n", cmdbuf, "\n -");
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
curl_mfprintf(tool_stderr, "Cannot comply. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue