aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2019-01-08 20:22:59 +1100
committerDean Camera <dean@fourwalledcubicle.com>2019-01-08 20:23:03 +1100
commitffaa83ad27fa3713a86d04dcbf200b1de0454bfc (patch)
tree37557ff402b9611cf51961124cd1baef49f9564b
parent101ed6b74e0d6549e53a7c8216147af37ffc70df (diff)
downloadlufa-ffaa83ad27fa3713a86d04dcbf200b1de0454bfc.tar.gz
lufa-ffaa83ad27fa3713a86d04dcbf200b1de0454bfc.tar.bz2
lufa-ffaa83ad27fa3713a86d04dcbf200b1de0454bfc.zip
Buld Tests: Update static analysis test for cppcheck 1.86.
-rw-r--r--BuildTests/BoardDriverTest/Test.c2
-rw-r--r--BuildTests/StaticAnalysisTest/makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/BuildTests/BoardDriverTest/Test.c b/BuildTests/BoardDriverTest/Test.c
index 226b3e8e5..95b8f04d0 100644
--- a/BuildTests/BoardDriverTest/Test.c
+++ b/BuildTests/BoardDriverTest/Test.c
@@ -53,7 +53,7 @@
int main(void)
{
- uint_reg_t Dummy;
+ uint_reg_t Dummy = 0;
/* =============================
* Buttons Compile Check
diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile
index 6c0b70b3f..e9bb1b69c 100644
--- a/BuildTests/StaticAnalysisTest/makefile
+++ b/BuildTests/StaticAnalysisTest/makefile
@@ -6,7 +6,7 @@
# www.lufa-lib.org
#
-# Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
+# Static analysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
# Path to the LUFA library core
LUFA_PATH := ../../LUFA/
@@ -21,7 +21,7 @@ CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/
CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME -U __GNUC__ -U __DOXYGEN__
-CPPCHECK_SUPPRESS := variableScope missingInclude noValidConfiguration unusedFunction redundantAssignment
+CPPCHECK_SUPPRESS := variableScope missingInclude noValidConfiguration unusedFunction knownConditionTrueFalse ConfigurationNotChecked
SRC := $(patsubst %/,%,$(LUFA_PATH))/..