diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 14:18:09 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-07-07 11:51:48 +0200 |
commit | 6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch) | |
tree | 727427eb4c603e74954d4da462484ea7bf5c65bb /tests/auto/corelib/io | |
parent | d9cc1499954829faf9486fb72056e29f1bad58e3 (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I3f0b6717956ca8fa486bed9817b89dfa19f5e0e1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/corelib/io')
-rw-r--r-- | tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp b/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp index 1072cb44f9..1671e9d98b 100644 --- a/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp +++ b/tests/auto/corelib/io/qabstractfileengine/tst_qabstractfileengine.cpp @@ -195,22 +195,22 @@ public: // bool link(const QString &newName) // { - // Q_UNUSED(newName) + // Q_UNUSED(newName); // return false; // } // bool mkdir(const QString &dirName, bool createParentDirectories) const // { - // Q_UNUSED(dirName) - // Q_UNUSED(createParentDirectories) + // Q_UNUSED(dirName); + // Q_UNUSED(createParentDirectories); // return false; // } // bool rmdir(const QString &dirName, bool recurseParentDirectories) const // { - // Q_UNUSED(dirName) - // Q_UNUSED(recurseParentDirectories) + // Q_UNUSED(dirName); + // Q_UNUSED(recurseParentDirectories); // return false; // } @@ -247,7 +247,7 @@ public: // bool setPermissions(uint perms) // { - // Q_UNUSED(perms) + // Q_UNUSED(perms); // return false; // } @@ -373,8 +373,8 @@ public: // typedef QAbstractFileEngineIterator Iterator; // Iterator *beginEntryList(QDir::Filters filters, const QStringList &filterNames) // { - // Q_UNUSED(filters) - // Q_UNUSED(filterNames) + // Q_UNUSED(filters); + // Q_UNUSED(filterNames); // return 0; // } |