From: Matthieu Gallien Date: Thu, 28 Jul 2022 14:10:37 +0000 (+0200) Subject: mark unused variable as bein unused to avoid clang warning X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~69^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7180b09807f37c9cee674aa3a61f938f3601c7d8;p=nextcloud-desktop.git mark unused variable as bein unused to avoid clang warning Signed-off-by: Matthieu Gallien --- diff --git a/src/gui/creds/webflowcredentials.cpp b/src/gui/creds/webflowcredentials.cpp index 2b7ea3eec..278d81b94 100644 --- a/src/gui/creds/webflowcredentials.cpp +++ b/src/gui/creds/webflowcredentials.cpp @@ -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