From a70079760ab21b7806fe2566ca8d6e0a4b617910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20=C3=9Clgen?= <onur.ulgen@kcl.ac.uk> Date: Wed, 12 Jun 2024 21:22:45 +0100 Subject: [PATCH] Upgrade Cppcheck to 2.14 --- .github/workflows/analysis.yml | 2 +- niftyreg_build_version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 3151d789..5c793dda 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -11,7 +11,7 @@ jobs: sudo apt-get update && sudo apt-get install libpcre3-dev git clone https://github.com/danmar/cppcheck.git cd cppcheck - git checkout 2.13.x + git checkout 2.14.x # Disable color output of cppcheck sed -i 's/ *bool *gDisableColors *= *false;/bool gDisableColors = true;/' lib/color.cpp sudo make -j4 MATCHCOMPILER=yes FILESDIR=/usr/share/cppcheck HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function" install diff --git a/niftyreg_build_version.txt b/niftyreg_build_version.txt index 5e4a5228..9f51d082 100644 --- a/niftyreg_build_version.txt +++ b/niftyreg_build_version.txt @@ -1 +1 @@ -425 +426