tidy-up: two comments

Follow-up to 2c27a67daa #17590
Follow-up to df1ff17f88 #17418

Closes #17624
This commit is contained in:
Viktor Szakats 2025-06-15 01:21:14 +02:00
parent 984c96e307
commit 6b016cec55
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 2 additions and 3 deletions

View file

@ -290,7 +290,7 @@ endif()
option(CURL_CLANG_TIDY "Run the build through clang-tidy" OFF)
if(CURL_CLANG_TIDY)
# clang-tidy is not looking into #included sources, thus not compatible with
# unity builds and test bundles.
# unity builds. Make test bundles compatible by embedding the source code.
set(CMAKE_UNITY_BUILD OFF)
set(CURL_MK_UNITY_OPTION "--embed")
set(_tidy_checks "")

View file

@ -94,8 +94,8 @@ struct cert_chain_engine_config_win8 {
DWORD dwExclusiveFlags;
};
/* Not defined before mingw-w64 4.0.0 */
#ifndef CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG
/* Not defined for any MINGW build */
#define CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG 0x00000001
#endif
@ -115,7 +115,6 @@ struct cert_chain_engine_config_win7 {
HCERTSTORE hExclusiveTrustedPeople;
};
#ifndef UNDER_CE
static int is_cr_or_lf(char c)
{