QAuthenticatorPrivate::parseHttpResponse: mark "host" as unused

... in the case where it is unused

Change-Id: Ia181b975f07a8d1eee078867b98168ec5c326612
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
bb10
Mårten Nordheim 2020-09-11 17:18:07 +02:00
parent 94c15bda6e
commit 25a0153802
1 changed files with 3 additions and 0 deletions

View File

@ -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;