summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-05-23 10:42:09 -0400
committerBrad King <brad.king@kitware.com>2022-05-24 09:09:43 -0400
commit437789db07258c2a96f32a8c70382b1304292589 (patch)
tree5a0b74f3459a2a7b5f5500af68e2ace7a4633efb /CTestCustom.cmake.in
parent634d6f20c98dffc17b6d332290a4f08737cede18 (diff)
downloadcmake-437789db07258c2a96f32a8c70382b1304292589.tar.gz
zstd: suppress an analyzer lint
It is detected since the asserts go to nothing in a non-debug build.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in1
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")