Fix compiler warning from unused parameter

Change-Id: I227b7188eddbad024dcced908c894925cee56591
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Volker Hilsheimer 2021-06-23 09:48:00 +02:00
parent 1c2ca4004d
commit 85121af2eb

View File

@ -9551,7 +9551,7 @@ void tst_QNetworkReply::downloadProgressWithContentEncoding()
qint64 bytesReceived = -1;
connect(reply.data(), &QNetworkReply::downloadProgress, this,
[reply = reply.data(), &expected, &bytesReceived](qint64 recv, qint64 total) {
[reply = reply.data(), &expected, &bytesReceived](qint64 recv, qint64 /*total*/) {
qint64 previous = bytesReceived;
bytesReceived = recv;
if (bytesReceived > expected.size()) {