mark unused variable as bein unused to avoid clang warning
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 28 Jul 2022 14:10:37 +0000 (16:10 +0200)
committerClaudio Cambra <claudio.cambra@gmail.com>
Tue, 2 Aug 2022 14:28:50 +0000 (16:28 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/creds/webflowcredentials.cpp

index 2b7ea3eec4a45cb6445d3c73f513bd7996845c22..278d81b94cc186065936cf09c56036fcb28c6a84 100644 (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