clang-tidy: suppress misc-redundant-expression lint on macro expansion

This commit is contained in:
Brad King
2025-04-22 17:13:40 -04:00
parent 3d0ac2dafa
commit 8b1b201154

View File

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