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/network/access | |
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/network/access')
-rw-r--r-- | tests/auto/network/access/http2/tst_http2.cpp | 6 | ||||
-rw-r--r-- | tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/network/access/http2/tst_http2.cpp b/tests/auto/network/access/http2/tst_http2.cpp index 419d13e33c..2e59480c90 100644 --- a/tests/auto/network/access/http2/tst_http2.cpp +++ b/tests/auto/network/access/http2/tst_http2.cpp @@ -990,12 +990,12 @@ void tst_Http2::invalidFrame() void tst_Http2::invalidRequest(quint32 streamID) { - Q_UNUSED(streamID) + Q_UNUSED(streamID); } void tst_Http2::decompressionFailed(quint32 streamID) { - Q_UNUSED(streamID) + Q_UNUSED(streamID); } void tst_Http2::receivedRequest(quint32 streamID) @@ -1021,7 +1021,7 @@ void tst_Http2::receivedData(quint32 streamID) void tst_Http2::windowUpdated(quint32 streamID) { - Q_UNUSED(streamID) + Q_UNUSED(streamID); ++windowUpdates; } diff --git a/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp b/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp index e8d4c773f0..00afdd8177 100644 --- a/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp +++ b/tests/auto/network/access/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp @@ -233,7 +233,7 @@ void tst_QHttpNetworkConnection::finishedReply() void tst_QHttpNetworkConnection::finishedWithError(QNetworkReply::NetworkError errorCode, const QString &detail) { - Q_UNUSED(detail) + Q_UNUSED(detail); finishedWithErrorCalled = true; netErrorCode = errorCode; } @@ -425,7 +425,7 @@ void tst_QHttpNetworkConnection::_connect() void tst_QHttpNetworkConnection::challenge401(const QHttpNetworkRequest &request, QAuthenticator *authenticator) { - Q_UNUSED(request) + Q_UNUSED(request); QHttpNetworkReply *reply = qobject_cast<QHttpNetworkReply*>(sender()); if (reply) { @@ -563,7 +563,7 @@ void tst_QHttpNetworkConnection::compression() #ifndef QT_NO_SSL void tst_QHttpNetworkConnection::sslErrors(const QList<QSslError> &errors) { - Q_UNUSED(errors) + Q_UNUSED(errors); QHttpNetworkReply *reply = qobject_cast<QHttpNetworkReply*>(sender()); if (reply) { |