diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 12:55:16 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-29 13:26:50 +0200 |
commit | aee14311fe715e55423703103051f7e3e3d6abb9 (patch) | |
tree | 605108be49672f5062f81839801bce5b38d90092 /tests/postbuild | |
parent | e713da4442590af2d15325ce14646e0035894047 (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I98d2b563342b93f9da2494de3020b846b2f8ae60
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/postbuild')
-rw-r--r-- | tests/postbuild/bic/tst_bic.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/postbuild/bic/tst_bic.cpp b/tests/postbuild/bic/tst_bic.cpp index 9f427982..b2e12933 100644 --- a/tests/postbuild/bic/tst_bic.cpp +++ b/tests/postbuild/bic/tst_bic.cpp @@ -84,7 +84,7 @@ bool compilerVersion(const QString &compiler, QString *output, Version *version, version->second = match.captured(2).toInt(); return true; #else // !QT_NO_PROCESS - Q_UNUSED(compiler) + Q_UNUSED(compiler); *errorMessage = QLatin1String("Platform does not support QProcess"); return false; #endif @@ -92,7 +92,7 @@ bool compilerVersion(const QString &compiler, QString *output, Version *version, static QStringList compilerArguments(const QString &compiler, const QStringList &incPaths) { - Q_UNUSED(compiler) + Q_UNUSED(compiler); QStringList result; result << "-c" << incPaths @@ -121,7 +121,7 @@ static const char noneSuchFileSuffix[] = "nonsuch"; static QString fileSuffix(const QString &compiler, const Version &compilerVersion) { - Q_UNUSED(compiler) + Q_UNUSED(compiler); Q_UNUSED(compilerVersion); QString result; #if !defined(Q_CC_GNU) || defined(Q_CC_INTEL) |