From ebfce89b257cf1671243f60e9e6f62c9e6af6488 Mon Sep 17 00:00:00 2001
From: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
Date: Mon, 24 Jul 2023 13:24:17 +0200
Subject: [PATCH] fix cpd errors

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 13ade1c1..56610ae9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,7 @@ variables:
   SOURCE_FOLDER: "."
   RUN_CPPCHECK: "cppcheck --enable=all --error-exitcode=1 --suppress=unusedFunction --suppress=unreadVariable --suppress=variableScope --inline-suppr ."
   CPPCHECK_OPTIONS: " --enable=all --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=unreadVariable --suppress=variableScope"
+  RUN_CPD: "/home/user/pmd-bin-6.19.0/bin/run.sh cpd --minimum-tokens 300 --language c --exclude ./test/cmocka --files"
 
 run_compile_test:
     stage: compile_test
-- 
GitLab