diff options
author | Lukas Rusak <lorusak@gmail.com> | 2022-02-02 12:04:58 -0800 |
---|---|---|
committer | Lukas Rusak <lorusak@gmail.com> | 2022-02-02 17:53:48 -0800 |
commit | 7da360df5c0bdca92889d6a719b2067baa9404e9 (patch) | |
tree | 2367b353234079225d8fa3dadd304d0029a02e29 /tools/static-analysis | |
parent | f8f8770711e091b779dfc6b6e64a4c8df4adae02 (diff) |
[cmake] cppcheck: add rules to help suppress false positives
Diffstat (limited to 'tools/static-analysis')
-rw-r--r-- | tools/static-analysis/cppcheck/cppcheck-rules.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/static-analysis/cppcheck/cppcheck-rules.xml b/tools/static-analysis/cppcheck/cppcheck-rules.xml new file mode 100644 index 0000000000..35f1fd18c7 --- /dev/null +++ b/tools/static-analysis/cppcheck/cppcheck-rules.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<def> + <type-checks> + <unusedvar> + <suppress>CSingleLock</suppress> + <suppress>CSharedLock</suppress> + <suppress>CExclusiveLock</suppress> + </unusedvar> + </type-checks> +</def> |