From 3d4ca061a8ba08adaf92ee510914a90a70315424 Mon Sep 17 00:00:00 2001
From: Jens Georg <jens.georg@desy.de>
Date: Thu, 22 Apr 2021 12:16:26 +0200
Subject: [PATCH] cppcheck: Remove all restrictions

---
 vars/helper.groovy | 2 --
 1 file changed, 2 deletions(-)

diff --git a/vars/helper.groovy b/vars/helper.groovy
index 1f520ac..ddb0de3 100644
--- a/vars/helper.groovy
+++ b/vars/helper.groovy
@@ -78,9 +78,7 @@ def doAnalysis(String label, String buildType) {
     doBuilddirArtefact(label, buildType)
 
     // Run cppcheck only for focal-debug
-    if((!env.DISABLE_CPPCHECK || env.DISABLE_CPPCHECK == '')) {
         doCppcheck(label, buildType)
-    }
 
     // Add inactivity timeout of 60 minutes (build will be interrupted if 60 minutes no log output has been produced)
     timeout(activity: true, time: 60) {
-- 
GitLab