CI: Skip style with Cppcheck

For callback functions, we may not expect to changes their prototypes,
and this commit skips the corresponding checks.
This commit is contained in:
Jim Huang 2024-12-11 16:18:47 +08:00
parent 6e3aee651a
commit 519033d2cc

View File

@ -19,7 +19,7 @@ function do_cppcheck()
# - [*.c] missingIncludeSystem: Focus on the example code, not the kernel headers. # - [*.c] missingIncludeSystem: Focus on the example code, not the kernel headers.
local OPTS=" local OPTS="
--enable=warning,style,performance,information --enable=warning,performance,information
--suppress=unusedFunction:hello-1.c --suppress=unusedFunction:hello-1.c
--suppress=missingIncludeSystem --suppress=missingIncludeSystem
--std=c89 " --std=c89 "