summaryrefslogtreecommitdiffstats
path: root/scripts/cppcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cppcheck.sh')
-rwxr-xr-xscripts/cppcheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/cppcheck.sh b/scripts/cppcheck.sh
new file mode 100755
index 0000000..ac77f85
--- /dev/null
+++ b/scripts/cppcheck.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cppcheck --error-exitcode=1 --enable=all --inline-suppr \
+ --template='{id}:{file}({line}):({severity}) {message}' \
+ -i rtrlib/spki/hashtable/tommyds-2.2/ tools/ rtrlib/