Suppress cppcheck issues
This commit is contained in:
parent
645a02c99e
commit
37ba189e54
|
@ -292,7 +292,7 @@ ENDIF ()
|
||||||
# LINT:
|
# LINT:
|
||||||
if (CPPCHECK_FOUND)
|
if (CPPCHECK_FOUND)
|
||||||
add_custom_target(lint
|
add_custom_target(lint
|
||||||
COMMAND ${CPPCHECK_EXECUTABLE} --force --language=c --template=gcc --error-exitcode=1 --quiet --enable=warning,style,performance,portability,information,missingInclude src/
|
COMMAND ${CPPCHECK_EXECUTABLE} --force --language=c --template=gcc --error-exitcode=1 --quiet --suppress=unreadVariable --suppress=missingInclude --enable=warning,style,performance,portability,information,missingInclude src/
|
||||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||||
COMMENT "Run cppcheck"
|
COMMENT "Run cppcheck"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue