summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/kernel/qauthenticator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp
index 3db7161add..86242b011f 100644
--- a/src/network/kernel/qauthenticator.cpp
+++ b/src/network/kernel/qauthenticator.cpp
@@ -425,6 +425,9 @@ void QAuthenticatorPrivate::updateCredentials()
void QAuthenticatorPrivate::parseHttpResponse(const QList<QPair<QByteArray, QByteArray> > &values, bool isProxy, const QString &host)
{
+#if !QT_CONFIG(gssapi)
+ Q_UNUSED(host);
+#endif
const char *search = isProxy ? "proxy-authenticate" : "www-authenticate";
method = None;