diff --git a/scripts/pre-commit.hook b/scripts/pre-commit.hook index b39b87bdf..f8467cc75 100755 --- a/scripts/pre-commit.hook +++ b/scripts/pre-commit.hook @@ -16,7 +16,8 @@ CPPCHECK_suppresses="--inline-suppr harness.c \ --suppress=nullPointer:qtest.c \ --suppress=returnDanglingLifetime:report.c \ --suppress=constParameterCallback:console.c \ ---suppress=constParameterPointer:console.c" +--suppress=constParameterPointer:console.c \ +--suppress=checkLevelNormal:log2_lshift16.h" CPPCHECK_OPTS="-I. --enable=all --error-exitcode=1 --force $CPPCHECK_suppresses $CPPCHECK_unmatched ." RETURN=0