[education/rkward] /: Disable some cppcheck noise
Thomas Friedrichsmeier
null at kde.org
Sat Jan 31 08:17:04 GMT 2026
Git commit bfe516c91949149cfb1aec0d0d0a75ddb89970c2 by Thomas Friedrichsmeier.
Committed on 31/01/2026 at 08:16.
Pushed by tfry into branch 'master'.
Disable some cppcheck noise
M +1 -1 .kde-ci.yml
M +2 -0 rkward/autotests/rkparsedscript_test.cpp
https://invent.kde.org/education/rkward/-/commit/bfe516c91949149cfb1aec0d0d0a75ddb89970c2
diff --git a/.kde-ci.yml b/.kde-ci.yml
index 3a10bd1d3..b44bba61b 100644
--- a/.kde-ci.yml
+++ b/.kde-ci.yml
@@ -22,4 +22,4 @@ Options:
require-passing-tests-on: [ 'Linux', 'FreeBSD', 'Windows' ]
tests-load-sensitve: True
per-test-timeout: 180
- cppcheck-arguments: '--enable=warning,style,performance --inline-suppr -DR_EXECUTABLE="/usr/bin/R" -DRKWARD_VERSION="dummy" -DCPPCHECK_ONLY=1 --suppress=unknownMacro'
+ cppcheck-arguments: '--enable=warning,style,performance --inline-suppr -DR_EXECUTABLE="/usr/bin/R" -DRKWARD_VERSION="dummy" -DCPPCHECK_ONLY=1 --suppress=unknownMacro --suppress=preprocessorErrorDirective --suppress=returnByReference'
diff --git a/rkward/autotests/rkparsedscript_test.cpp b/rkward/autotests/rkparsedscript_test.cpp
index 9b60d56fc..f21359401 100644
--- a/rkward/autotests/rkparsedscript_test.cpp
+++ b/rkward/autotests/rkparsedscript_test.cpp
@@ -5,6 +5,8 @@ SPDX-FileContributor: The RKWard Team <rkward at kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
+// cppcheck-suppress-file [redundantAssignment, unreadVariable]
+
#include <QFile>
#include <QStandardPaths>
#include <QTest>
More information about the rkward-tracker
mailing list