From b42642a5d6011f84422d338e38a2bfca46ed3ee8 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 16 Apr 2012 20:43:30 +0000 Subject: Fix up static analysis build test so that inline suppressions for missing header files are not required in the XPLAINBridge project. --- BuildTests/StaticAnalysisTest/makefile | 3 ++- Projects/XPLAINBridge/XPLAINBridge.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BuildTests/StaticAnalysisTest/makefile b/BuildTests/StaticAnalysisTest/makefile index 817727ea3..70adf0f15 100644 --- a/BuildTests/StaticAnalysisTest/makefile +++ b/BuildTests/StaticAnalysisTest/makefile @@ -24,7 +24,8 @@ SUPPRESS_WARNINGS = variableScope \ missingInclude # Extra paths to search for include files -INCLUDE_PATHS = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/ +INCLUDE_PATHS = $(LUFA_ROOT_PATH)/LUFA/CodeTemplates/ \ + $(LUFA_ROOT_PATH)/Projects/AVRISP-MKII/ # Configuration options to pass to cppcheck CPPCHECK_OPTIONS = --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) --inline-suppr --force --error-exitcode=1 --std=c99 diff --git a/Projects/XPLAINBridge/XPLAINBridge.h b/Projects/XPLAINBridge/XPLAINBridge.h index 5570a1a0a..33c66bf51 100644 --- a/Projects/XPLAINBridge/XPLAINBridge.h +++ b/Projects/XPLAINBridge/XPLAINBridge.h @@ -46,9 +46,7 @@ #include "AVRISPDescriptors.h" #include "USARTDescriptors.h" - // cppcheck-suppress missingInclude #include "Lib/V2Protocol.h" - // cppcheck-suppress missingInclude #include "Lib/SoftUART.h" #include -- cgit v1.2.3