diff --git a/UI/auth-oauth.cpp b/UI/auth-oauth.cpp index 11fc69039..39da15b84 100644 --- a/UI/auth-oauth.cpp +++ b/UI/auth-oauth.cpp @@ -64,6 +64,8 @@ OAuthLogin::OAuthLogin(QWidget *parent, const std::string &url, bool token) QVBoxLayout *topLayout = new QVBoxLayout(this); topLayout->addWidget(cefWidget); topLayout->addLayout(bottomLayout); +#else + UNUSED_PARAMETER(url); #endif } diff --git a/UI/auth-youtube.cpp b/UI/auth-youtube.cpp index 2595c0c8b..78038689c 100644 --- a/UI/auth-youtube.cpp +++ b/UI/auth-youtube.cpp @@ -181,6 +181,8 @@ void YoutubeAuth::SetChatId(QString &chat_id) if (chat && chat->cefWidget) { chat->cefWidget->setURL(chat_url.toStdString()); } +#else + UNUSED_PARAMETER(chat_id); #endif }