[cppcheck] remove rule-file

- ignored checks are no longer required after 45427e386f
- Debian disabled rules support as it depends on pcre
This commit is contained in:
Rechi 2024-08-02 19:06:53 +02:00
parent 588bdf2665
commit 50848739e4
2 changed files with 0 additions and 11 deletions

View File

@ -15,7 +15,6 @@ if(CPPCHECK_EXECUTABLE)
--xml-version=2
--language=c++
--relative-paths=${CMAKE_SOURCE_DIR}
--rule-file=${CMAKE_SOURCE_DIR}/tools/static-analysis/cppcheck/cppcheck-rules.xml
--suppress-xml=${CMAKE_SOURCE_DIR}/tools/static-analysis/cppcheck/cppcheck-suppressions.xml
--output-file=${CMAKE_BINARY_DIR}/cppcheck-result.xml
COMMENT "Static code analysis using cppcheck")

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<def>
<type-checks>
<unusedvar>
<suppress>CSingleLock</suppress>
<suppress>CSharedLock</suppress>
<suppress>CExclusiveLock</suppress>
</unusedvar>
</type-checks>
</def>