diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-11 17:18:07 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-09-11 17:57:20 +0000 |
commit | 25a01538021c526a86adf47f30c9e5607da51cd4 (patch) | |
tree | 8adb192b83ad1f12e49a985322c982040429941c /src/network | |
parent | 94c15bda6e89a0a146d0a463798163cdb1547e29 (diff) |
QAuthenticatorPrivate::parseHttpResponse: mark "host" as unused
... in the case where it is unused
Change-Id: Ia181b975f07a8d1eee078867b98168ec5c326612
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/kernel/qauthenticator.cpp | 3 |
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; |