From 940f16babab76b328b7c9bfdb5435102c689b76b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 26 Apr 2011 15:28:34 +0200 Subject: Fix warnings on unused parameters and variables --- src/network/access/qhttpnetworkconnection.cpp | 1 - src/network/kernel/qhostinfo.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/network/access/qhttpnetworkconnection.cpp b/src/network/access/qhttpnetworkconnection.cpp index 83156c6..07dd729 100644 --- a/src/network/access/qhttpnetworkconnection.cpp +++ b/src/network/access/qhttpnetworkconnection.cpp @@ -117,7 +117,6 @@ QHttpNetworkConnectionPrivate::~QHttpNetworkConnectionPrivate() void QHttpNetworkConnectionPrivate::init() { - Q_Q(QHttpNetworkConnection); for (int i = 0; i < channelCount; i++) { channels[i].setConnection(this->q_func()); channels[i].ssl = encrypt; diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp index a16d4ca..c86f510 100644 --- a/src/network/kernel/qhostinfo.cpp +++ b/src/network/kernel/qhostinfo.cpp @@ -288,7 +288,7 @@ QHostInfo QHostInfoPrivate::fromName(const QString &name, QSharedPointer networkSession) +QHostInfo QHostInfoAgent::fromName(const QString &hostName, QSharedPointer) { return QHostInfoAgent::fromName(hostName); } -- cgit v0.12