|
|
@ -310,7 +310,7 @@ check-includes: |
|
|
|
@git ls-files -- "*.c" "*.h" | grep -vE '^ccan/' | xargs grep -n 'list_for_each' | sed 's/\([^:]*:.*\):.*/uninitvar:\1/' > $@ |
|
|
|
|
|
|
|
check-cppcheck: .cppcheck-suppress |
|
|
|
@trap 'rm -f .cppcheck-suppress' 0; git ls-files -- "*.c" "*.h" | grep -vE '^ccan/' | xargs cppcheck -q --language=c --std=c11 --error-exitcode=1 --suppressions-list=.cppcheck-suppress |
|
|
|
@trap 'rm -f .cppcheck-suppress' 0; git ls-files -- "*.c" "*.h" | grep -vE '^ccan/' | xargs cppcheck -q --language=c --std=c11 --error-exitcode=1 --suppressions-list=.cppcheck-suppress --inline-suppr |
|
|
|
|
|
|
|
check-shellcheck: |
|
|
|
@git ls-files -- "*.sh" | xargs shellcheck |
|
|
|