Skip to content

Commit 39c85e9

Browse files
authored
Merge pull request sysprog21#163 from 25077667/master
Suppress Cppcheck checking level
2 parents 3aa0d55 + cec5179 commit 39c85e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/pre-commit.hook

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ for f in *.c; do
55
CPPCHECK_unmatched="$CPPCHECK_unmatched --suppress=unmatchedSuppression:$f"
66
done
77

8+
# We suppress the checkLevelNormal warning for Cppcheck versions 2.11 and above.
9+
# Please refer to issues/153 for more details.
810
CPPCHECK_suppresses="--inline-suppr harness.c \
911
--suppress=missingIncludeSystem \
1012
--suppress=noValidConfiguration \

0 commit comments

Comments
 (0)