summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2011-04-27 16:33:54 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-28 08:50:42 (GMT)
commit61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2 (patch)
tree8ee0755a3844074ef80376137455903fc4f1bd59 /src/network
parent5e5485809e8c6f8339bb9f19ad71ed623a8b23c7 (diff)
downloadQt-61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2.zip
Qt-61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2.tar.gz
Qt-61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2.tar.bz2
Fixes warnings about unused variables
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qhttpnetworkconnection.cpp1
-rw-r--r--src/network/kernel/qhostinfo.cpp1
2 files changed, 1 insertions, 1 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..8569817 100644
--- a/src/network/kernel/qhostinfo.cpp
+++ b/src/network/kernel/qhostinfo.cpp
@@ -290,6 +290,7 @@ QHostInfo QHostInfoPrivate::fromName(const QString &name, QSharedPointer<QNetwor
// This function has a special implementation for symbian right now in qhostinfo_symbian.cpp but not on other OS.
QHostInfo QHostInfoAgent::fromName(const QString &hostName, QSharedPointer<QNetworkSession> networkSession)
{
+ Q_UNUSED(networkSession);
return QHostInfoAgent::fromName(hostName);
}
#endif