Przeglądaj źródła

zstd: suppress an analyzer lint

It is detected since the asserts go to nothing in a non-debug build.
Ben Boeckel 3 lat temu
rodzic
commit
437789db07
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      CTestCustom.cmake.in

+ 1 - 0
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")