Add tools/check

This commit is contained in:
Johan Malm 2020-06-19 22:31:33 +01:00
parent 786ee4d455
commit 16e879cb16

13
tools/check Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
options="\
--enable=all \
--suppress=missingInclude \
--suppress=unusedFunction \
--suppress=unmatchedSuppression \
"
for f in $(find src/ -name "*.c"); do
cppcheck ${options} "${f}"
done