labwc/tools/check

14 lines
209 B
Text
Raw Normal View History

2020-06-19 22:31:33 +01:00
#!/bin/bash
options="\
--enable=all \
--suppress=missingInclude \
--suppress=unusedFunction \
--suppress=unmatchedSuppression \
"
for f in $(find src/ -name "*.c"); do
cppcheck ${options} "${f}"
done