From 9971d7dfcbea32bdf5455034daff702db67eb2d3 Mon Sep 17 00:00:00 2001 From: jwendt <wendt@vr.rwth-aachen.de> Date: Fri, 29 Jun 2018 14:00:44 +0200 Subject: [PATCH] supress unusedFunction warnings of cppcehck --- cmake/cppcheck.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cppcheck.cmake b/cmake/cppcheck.cmake index 0f041642..686a8abc 100644 --- a/cmake/cppcheck.cmake +++ b/cmake/cppcheck.cmake @@ -36,7 +36,7 @@ else() message(STATUS "Use cppcheck from: ${CPPCHECK_COMMAND}") endif() -set(CPPCHECK_ARGUMENTS --enable=warning,performance,portability,missingInclude,unusedFunction,style --error-exitcode=1 --quiet --verbose) +set(CPPCHECK_ARGUMENTS --enable=warning,performance,portability,missingInclude,style --suppress=unusedFunction --error-exitcode=1 --quiet --verbose) if(MSVC) list(APPEND CPPCHECK_ARGUMENTS --template=vs) elseif(CLANG) -- GitLab