Fix warnings and errors found by the new cppcheck provided static code analysis.
This commit is contained in:
parent
b762780343
commit
bb85d083a7
7 changed files with 23 additions and 29 deletions
|
@ -18,6 +18,6 @@ EXCLUDE_LIST = HostLoaderApp/ FATFs/ PetiteFATFs/ uip/
|
|||
MESSAGE_TEMPLATE = "{file}({line}): {severity} ({id}): {message}"
|
||||
|
||||
all:
|
||||
cppcheck -q -f --error-exitcode=1 --template $(MESSAGE_TEMPLATE) --enable=style --suppress=variableScope $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
|
||||
cppcheck -q -f --error-exitcode=1 --inline-suppr --enable=style --suppress=variableScope --template $(MESSAGE_TEMPLATE) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
|
||||
|
||||
%:
|
Loading…
Add table
Add a link
Reference in a new issue