Fixes warnings about unused variables
authorOlivier Goffart <olivier.goffart@nokia.com>
Wed, 27 Apr 2011 16:33:54 +0000 (18:33 +0200)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:51 +0000 (12:54 +0200)
Reviewed-by: Peter Hartmann
(cherry picked from commit 61c6d66b7efd8de4a83b021e7c4ef2b1a803ece2)

src/network/kernel/qhostinfo.cpp

index c86f510..7509e2c 100644 (file)
@@ -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>)
 {
+    Q_UNUSED(networkSession);
     return QHostInfoAgent::fromName(hostName);
 }
 #endif