mark unused variable as bein unused to avoid clang warning

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2022-07-28 16:10:37 +02:00 committed by Claudio Cambra
parent fe7a62bc77
commit 7180b09807

View file

@ -150,6 +150,7 @@ void WebFlowCredentials::askFromUser() {
#ifdef WITH_WEBENGINE
bool useFlow2 = (type != DetermineAuthTypeJob::WebViewFlow);
#else // WITH_WEBENGINE
Q_UNUSED(type)
bool useFlow2 = true;
#endif // WITH_WEBENGINE