Improve cppcheck script slightly.
authorCarl Hetherington <cth@carlh.net>
Thu, 2 Dec 2021 22:53:35 +0000 (23:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 3 Dec 2021 20:23:07 +0000 (21:23 +0100)
hacks/cppcheck

index 2b91b892244dc43e56ded1f8f16adb4c6b141436..09af269eb025e4f9b83276365b8841e7eb5da278 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/bash
-cppcheck --enable=all --quiet -U check . > log 2>&1
\ No newline at end of file
+cppcheck --enable=all --quiet -U check --suppress=passedByValue --suppress=useStlAlgorithm --suppress=syntaxError src test > log 2>&1