aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-17 19:54:17 +0200
committerLars Schmertmann <lars.schmertmann@governikus.de>2020-06-23 18:31:40 +0000
commit296c695c517d90de1c7f76c3b035807619c9bc9a (patch)
tree50aa4bdf8138fc8b90fbd43ba8f39d14834b3a45 /tests
parentaeeaa00fa083ac339d0770d633d22f203c504253 (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I36460d504aaac08bdbb64b6c71b5ab10e062e00d Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp b/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp
index 5390ff0..980af42 100644
--- a/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp
+++ b/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp
@@ -1359,7 +1359,7 @@ void tst_DataProcessor::invalidPayloadInCloseFrame()
QFETCH(bool, isContinuationFrame);
QFETCH(QWebSocketProtocol::CloseCode, expectedCloseCode);
- Q_UNUSED(isContinuationFrame)
+ Q_UNUSED(isContinuationFrame);
QByteArray data;
QBuffer buffer;
@@ -1507,7 +1507,7 @@ void tst_DataProcessor::doCloseFrameTest()
QFETCH(bool, isContinuationFrame);
QFETCH(QWebSocketProtocol::CloseCode, expectedCloseCode);
- Q_UNUSED(isContinuationFrame)
+ Q_UNUSED(isContinuationFrame);
QByteArray data;
QBuffer buffer;