diff --git a/.decent_ci-Linux.yaml b/.decent_ci-Linux.yaml index 931e699..6f7125f 100644 --- a/.decent_ci-Linux.yaml +++ b/.decent_ci-Linux.yaml @@ -26,5 +26,5 @@ compilers: skip_packaging: true cmake_extra_flags: -DBUILD_SAMPLES:BOOL=ON -DBUILD_PACKAGE:BOOL=ON -DBUILD_TESTING:BOOL=ON - name: cppcheck - compiler_extra_flags: --enable=all -I include --inline-suppr -Umax --suppress="*:cmake*" --suppress="*:catch.hpp" --force + compiler_extra_flags: --enable=all -I include --inline-suppr -Umax --suppress="*:cmake*" --suppress="*:unittests/catch.hpp" --force diff --git a/src/test_module.cpp b/src/test_module.cpp index f27faaf..949b01b 100644 --- a/src/test_module.cpp +++ b/src/test_module.cpp @@ -8,9 +8,9 @@ class TestBaseType { public: - TestBaseType() : val(10), const_val(15) { } - TestBaseType(int) : val(10), const_val(15) {} - TestBaseType(int *) : val(10), const_val(15) { } + TestBaseType() : val(10), const_val(15), mdarray{} { } + TestBaseType(int) : val(10), const_val(15), mdarray{} {} + TestBaseType(int *) : val(10), const_val(15), mdarray{} { } TestBaseType(const TestBaseType &) = default; virtual ~TestBaseType() {} virtual int func() { return 0; }