diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-05-04 09:01:16 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-05-17 12:09:18 +0200 |
commit | 8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc (patch) | |
tree | 23e358b9e68b4221cb021ed142dcc3e5fd3dfe1c /tests | |
parent | f1dde7a9245a257eac50c902b2080dcd25ba22c5 (diff) | |
download | ayatana-indicator-display-8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc.tar.gz ayatana-indicator-display-8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc.tar.bz2 ayatana-indicator-display-8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc.zip |
cppcheck: Suppress constParameterCallback.
See https://sourceforge.net/p/cppcheck/discussion/general/thread/6046fc0f43/
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 81e083c..531f58b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -28,7 +28,7 @@ endif() add_compile_options(${CXX_WARNING_ARGS}) -add_test(cppcheck cppcheck --enable=all -USCHEMA_DIR --error-exitcode=2 --inline-suppr --library=qt -I${CMAKE_SOURCE_DIR} -i${CMAKE_SOURCE_DIR}/tests/utils/qmain.cpp -i${CMAKE_SOURCE_DIR}/tests/gmock ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/tests --suppress=missingIncludeSystem --suppress=uninitDerivedMemberVar --suppress=unmatchedSuppression --suppress=constParameter --suppress=unusedFunction --suppress=uselessOverride) +add_test(cppcheck cppcheck --enable=all -USCHEMA_DIR --error-exitcode=2 --inline-suppr --library=qt -I${CMAKE_SOURCE_DIR} -i${CMAKE_SOURCE_DIR}/tests/utils/qmain.cpp -i${CMAKE_SOURCE_DIR}/tests/gmock ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/tests --suppress=missingIncludeSystem --suppress=uninitDerivedMemberVar --suppress=unmatchedSuppression --suppress=constParameter --suppress=constParameterCallback --suppress=unusedFunction --suppress=uselessOverride) add_subdirectory (unit) |