diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-23 10:42:09 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 09:09:43 -0400 |
commit | 437789db07258c2a96f32a8c70382b1304292589 (patch) | |
tree | 5a0b74f3459a2a7b5f5500af68e2ace7a4633efb | |
parent | 634d6f20c98dffc17b6d332290a4f08737cede18 (diff) | |
download | cmake-437789db07258c2a96f32a8c70382b1304292589.tar.gz |
zstd: suppress an analyzer lint
It is detected since the asserts go to nothing in a non-debug build.
-rw-r--r-- | CTestCustom.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index 093c1d889e..49026a33d1 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -98,6 +98,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Value stored to '[^']+' is never read" "zstd/lib/.*:[0-9]+:[0-9]+: warning: Assigned value is garbage or undefined" "zstd/lib/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer" + "zstd/lib/.*:[0-9]+:[0-9]+: warning: The right operand of .* is a garbage value due to array index out of bounds" ) if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode") |