mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Fix warnings and errors found by the new cppcheck provided static code analysis.
This commit is contained in:
@@ -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)
|
||||
|
||||
%:
|
||||
Reference in New Issue
Block a user