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:
Viktor Szakats 2026-02-18 14:27:20 +01:00
parent bd60df527c
commit 3cdc167425
No known key found for this signature in database
4 changed files with 2 additions and 13 deletions

View file

@ -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
};