summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/network/access/qnetworkreply
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-11-27 10:17:26 +0100
committerAndreas Buhr <andreas.buhr@qt.io>2020-11-30 17:16:21 +0100
commit5e84023344bfe8987c3ce5edf57f30261d677d2c (patch)
treecb70346329e080fb1914f2146dd8fad2559d4c13 /tests/benchmarks/network/access/qnetworkreply
parent687bd03d09b42faad4c8790c9508518c3d14b456 (diff)
Fix warnings about unused variables in benchmarks
This patch removes two unused variables and marks one unused, fixing three warnings. Change-Id: I71f59839452590b82ffb5459a968f06bd434fb9a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'tests/benchmarks/network/access/qnetworkreply')
-rw-r--r--tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp
index 559ed82834..04a36ff860 100644
--- a/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp
+++ b/tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp
@@ -233,7 +233,6 @@ class ThreadedDataReaderHttpServer: public QThread
// used to make the constructor only return after the tcp server started listening
QSemaphore ready;
QTcpSocket *client;
- int timeout;
int port;
public:
qint64 transferRate;