diff --git a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp index 0baadc182..e5c601881 100644 --- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp @@ -291,7 +291,6 @@ void EditPrivacyBox::setupContent() { return Settings::ExceptionUsersCount(exceptions(exception)); })); auto text = _controller->exceptionButtonTextKey(exception); - const auto always = (exception == Exception::Always); const auto button = content->add( object_ptr>( content, diff --git a/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp b/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp index 0d166a1e3..e105cd441 100644 --- a/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp +++ b/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp @@ -16,6 +16,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include #endif // LIB_FFMPEG_USE_QT_PRIVATE_API +#include + extern "C" { #include #if !defined DESKTOP_APP_USE_PACKAGED && !defined Q_OS_WIN && !defined Q_OS_MAC