We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7941392 commit 8bb9015Copy full SHA for 8bb9015
scripts/pre-commit.hook
@@ -1,7 +1,8 @@
1
#!/usr/bin/env bash
2
3
+# http-parser was taken from Node.js, and we don't tend to validate it.
4
CPPCHECK_suppresses="--suppress=missingIncludeSystem \
- --suppress=unusedFunction:http_parser.c \
5
+ --suppress=unusedFunction:http_parser.c \
6
--suppress=duplicateBreak:http_parser.c \
7
--suppress=shadowVariable:http_parser.c"
8
CPPCHECK_OPTS="-I. --enable=all --error-exitcode=1 --force $CPPCHECK_suppresses"
0 commit comments