Explorar o código

CI: Skip style with Cppcheck

For callback functions, we may not expect to changes their prototypes,
and this commit skips the corresponding checks.
Jim Huang hai 4 meses
pai
achega
519033d2cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .ci/static-analysis.sh

+ 1 - 1
.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 "