[epiphany/mcatanzaro/cppcheck] Further adjust cppcheck output



commit 5d8c337bb9b837997ee9132a478ea2e0e3a0bc8a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Nov 17 11:50:09 2019 -0600

    Further adjust cppcheck output
    
    --enable=all should be equivalent to --enable=warning,style with just
    two extra classes of warnings, both of which we don't want.

 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03f255d27..d24d894d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@ cppcheck:
     - apk update && apk add cppcheck
   script: >-
     cppcheck .
-    --enable=all
+    --enable=warning,style
     --error-exitcode=1
     --library=gtk
     --quiet
@@ -29,10 +29,8 @@ cppcheck:
     --suppress=leakNoVarFunctionCall
     --suppress=literalWithCharPtrCompare
     --suppress=memleak
-    --suppress=missingInclude
     --suppress=redundantAssignment
     --suppress=variableScope
-    --suppress=unusedFunction
     --suppress=varFuncNullUB
     --suppress=*:lib/contrib/gvdb/*
     --template=gcc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]