소스 검색

Merge topic 'fortran-scanbuild-fixes'

52b95d88 CTestCustom: Suppress scan-build warnings in flex-generated lexer
Brad King 9 년 전
부모
커밋
46cf4151c4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      CTestCustom.cmake.in

+ 1 - 0
CTestCustom.cmake.in

@@ -81,6 +81,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
   "index_encoder.c.241.2. warning: Value stored to .out_start. is never read"
   "index.c.*warning: Access to field.*results in a dereference of a null pointer.*loaded from variable.*"
   "cm_sha2.*warning: Value stored to.*is never read"
+  "cmFortranLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
   "testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.."
   "liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined"
   "libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"