From 2ac45198cf101f094cf8d94f3a546a57624e59f5 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Mon, 1 Feb 2021 11:06:47 +0200 Subject: Preincerment/predecrement operator where the post ones aren't needed NO_CHANGELOG --- autotests/kconfigtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests/kconfigtest.cpp') diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp index 23bcf195..e6d905b0 100644 --- a/autotests/kconfigtest.cpp +++ b/autotests/kconfigtest.cpp @@ -858,7 +858,7 @@ void KConfigTest::testDelete() const QList listLines = readLines(); for (const QByteArray &item : listLines) if (item.startsWith("devices|")) { // krazy:exclude=strings - count++; + ++count; } QCOMPARE(count, 2); cg.deleteEntry("devices|manual|/mnt/ipod"); -- cgit v1.2.1