From 25a01538021c526a86adf47f30c9e5607da51cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Fri, 11 Sep 2020 17:18:07 +0200 Subject: [PATCH] QAuthenticatorPrivate::parseHttpResponse: mark "host" as unused ... in the case where it is unused Change-Id: Ia181b975f07a8d1eee078867b98168ec5c326612 Reviewed-by: Timur Pocheptsov --- src/network/kernel/qauthenticator.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;