diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10c8c7a..1d7ee89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ default: image: docker.psi.ch:5000/sinqdev/sinqepics:latest - + stages: - lint - build @@ -24,16 +24,6 @@ formatting: tags: - sinq -# clangtidy: -# stage: lint -# script: -# - curl https://docker.psi.ch:5000/v2/_catalog -# # - dnf update -y -# # - dnf install -y clang-tools-extra -# # - clang-tidy sinqEPICSApp/src/*.cpp sinqEPICSApp/src/*.c sinqEPICSApp/src/*.h -checks=cppcoreguidelines-*,cert-* -# # tags: -# # - sinq - build_module: stage: build script: diff --git a/src/masterMacsAxis.cpp b/src/masterMacsAxis.cpp index baf22a4..6d5c826 100644 --- a/src/masterMacsAxis.cpp +++ b/src/masterMacsAxis.cpp @@ -43,6 +43,7 @@ void appendErrorMessage(char *fullMessage, size_t capacityFullMessage, // The error message is empty -> Just copy the content of toBeAppended // into fullMessage, if the formers capacity suffices if (lenToBeAppended < capacityFullMessage) { + // cppcheck-suppress unsafeStrcpy strcpy(fullMessage, toBeAppended); } } else {