From 519033d2cc9511ad726ed045b23f8e2510386929 Mon Sep 17 00:00:00 2001 From: Jim Huang Date: Wed, 11 Dec 2024 16:18:47 +0800 Subject: [PATCH] CI: Skip style with Cppcheck For callback functions, we may not expect to changes their prototypes, and this commit skips the corresponding checks. --- .ci/static-analysis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/static-analysis.sh b/.ci/static-analysis.sh index 1a31793..8f40ffe 100755 --- a/.ci/static-analysis.sh +++ b/.ci/static-analysis.sh @@ -19,7 +19,7 @@ function do_cppcheck() # - [*.c] missingIncludeSystem: Focus on the example code, not the kernel headers. local OPTS=" - --enable=warning,style,performance,information + --enable=warning,performance,information --suppress=unusedFunction:hello-1.c --suppress=missingIncludeSystem --std=c89 "