mirror of
https://github.com/curl/curl.git
synced 2026-05-13 11:46: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
|
|
@ -600,9 +600,7 @@ static const struct Curl_cwtype * const general_unencoders[] = {
|
|||
|
||||
/* supported content decoders only for transfer encodings */
|
||||
static const struct Curl_cwtype * const transfer_unencoders[] = {
|
||||
#ifndef CURL_DISABLE_HTTP
|
||||
&Curl_httpchunk_unencoder,
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue