From 8b1b201154bcdc0c490e02e28fad8c5281a8a8f5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 22 Apr 2025 17:13:40 -0400 Subject: [PATCH] clang-tidy: suppress misc-redundant-expression lint on macro expansion --- Source/cmCurl.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx index 4d8d6a517b..aef79a3ab2 100644 --- a/Source/cmCurl.cxx +++ b/Source/cmCurl.cxx @@ -48,6 +48,7 @@ // Do this only for our vendored curl to avoid breaking builds // against external future versions of curl. #if !defined(CMAKE_USE_SYSTEM_CURL) +// NOLINTNEXTLINE(misc-redundant-expression) static_assert(CURL_SSLVERSION_LAST == 8, "A new CURL_SSLVERSION_ may be available!"); #endif