From ffaa83ad27fa3713a86d04dcbf200b1de0454bfc Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 8 Jan 2019 20:22:59 +1100 Subject: Buld Tests: Update static analysis test for cppcheck 1.86. --- BuildTests/BoardDriverTest/Test.c | 2 +- BuildTests/StaticAnalysisTest/makefile | 4 ++-- 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))/.. -- cgit v1.2.3