From 16a3aea6a629a91aab937be5c111b64b3ed6cf86 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Sat, 9 Nov 2019 22:06:39 +0100 Subject: Remove unnecessary semicolons after Q_UNUSED GIT_SILENT --- src/tests/kfileitemmodelbenchmark.cpp | 2 +- src/tests/kfileitemmodeltest.cpp | 2 +- src/tests/kitemlistselectionmanagertest.cpp | 2 +- src/tests/viewpropertiestest.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tests') diff --git a/src/tests/kfileitemmodelbenchmark.cpp b/src/tests/kfileitemmodelbenchmark.cpp index 64ad116f6..8dfb4f622 100644 --- a/src/tests/kfileitemmodelbenchmark.cpp +++ b/src/tests/kfileitemmodelbenchmark.cpp @@ -28,7 +28,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext& context, const QString& msg) { - Q_UNUSED(context); + Q_UNUSED(context) switch (type) { case QtDebugMsg: diff --git a/src/tests/kfileitemmodeltest.cpp b/src/tests/kfileitemmodeltest.cpp index f081eba86..0c38f02bf 100644 --- a/src/tests/kfileitemmodeltest.cpp +++ b/src/tests/kfileitemmodeltest.cpp @@ -31,7 +31,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext& context, const QString& msg) { - Q_UNUSED(context); + Q_UNUSED(context) switch (type) { case QtDebugMsg: diff --git a/src/tests/kitemlistselectionmanagertest.cpp b/src/tests/kitemlistselectionmanagertest.cpp index 0655dcfb0..99313ff80 100644 --- a/src/tests/kitemlistselectionmanagertest.cpp +++ b/src/tests/kitemlistselectionmanagertest.cpp @@ -55,7 +55,7 @@ int DummyModel::count() const QHash DummyModel::data(int index) const { - Q_UNUSED(index); + Q_UNUSED(index) return QHash(); } diff --git a/src/tests/viewpropertiestest.cpp b/src/tests/viewpropertiestest.cpp index 0cd55662d..6e0452209 100644 --- a/src/tests/viewpropertiestest.cpp +++ b/src/tests/viewpropertiestest.cpp @@ -74,7 +74,7 @@ void ViewPropertiesTest::testReadOnlyBehavior() QScopedPointer props(new ViewProperties(m_testDir->url())); QVERIFY(props->isAutoSaveEnabled()); const QByteArray sortRole = props->sortRole(); - Q_UNUSED(sortRole); + Q_UNUSED(sortRole) props.reset(); QVERIFY(!QFile::exists(dotDirectoryFile)); -- cgit v1.3