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 > &values, bool isProxy, const QString &host) { +#if !QT_CONFIG(gssapi) + Q_UNUSED(host); +#endif const char *search = isProxy ? "proxy-authenticate" : "www-authenticate"; method = None;