aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-02-05 20:57:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-02-05 20:57:49 +0000
commit300a05d6c6b578713c4b73509d0961d39d695bcd (patch)
treebb565816f7b927058ad8fdac928c577ca1da8da0 /BuildTests
parent7ce76f2d815f115737af9d6379fd896970c36431 (diff)
downloadlufa-300a05d6c6b578713c4b73509d0961d39d695bcd.tar.gz
lufa-300a05d6c6b578713c4b73509d0961d39d695bcd.tar.bz2
lufa-300a05d6c6b578713c4b73509d0961d39d695bcd.zip
Remove CPPCheck suppressions for unused functions, disable checking for them in the StaticAnalysisTest build test as it can't cope with GCC aliasing and mixed library/application code.
Diffstat (limited to 'BuildTests')
-rw-r--r--BuildTests/StaticAnalysisTest/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile
index 4e166ed2d..453d88667 100644
--- a/BuildTests/StaticAnalysisTest/makefile
+++ b/BuildTests/StaticAnalysisTest/makefile
@@ -20,6 +20,8 @@ CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/
CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME -U __GNUC__ -U __DOXYGEN__
+CPPCHECK_SUPPRESS := variableScope missingInclude unusedFunction
+
SRC := $(patsubst %/,%,$(LUFA_PATH))/..
# Build test cannot be run with multiple parallel jobs