From acfdae2d72fa32295e8206477d75ab4fae2c5a9d Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 14 Jan 2022 22:57:13 +0300 Subject: [PATCH] Beta version 3.4.4: Fix build with GCC. --- Telegram/SourceFiles/history/history_service.cpp | 1 - Telegram/SourceFiles/history/view/history_view_message.cpp | 1 - .../SourceFiles/history/view/history_view_react_animation.cpp | 1 - Telegram/SourceFiles/window/notifications_manager.cpp | 1 - Telegram/lib_lottie | 2 +- 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Telegram/SourceFiles/history/history_service.cpp b/Telegram/SourceFiles/history/history_service.cpp index bca779db9..4dcea97f9 100644 --- a/Telegram/SourceFiles/history/history_service.cpp +++ b/Telegram/SourceFiles/history/history_service.cpp @@ -796,7 +796,6 @@ HistoryService::PreparedText HistoryService::prepareInvitedToCallText( Ui::Text::WithEntities); auto result = PreparedText{}; result.links.push_back(fromLink()); - auto linkIndex = 1; if (linkCallId) { const auto peer = history()->peer; result.links.push_back(GroupCallClickHandler(peer, linkCallId)); diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 0d515ad15..cae17a81a 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -2141,7 +2141,6 @@ void Message::refreshReactions() { if (!_reactions) { const auto handlerFactory = [=](QString emoji) { const auto weak = base::make_weak(this); - const auto fullId = data()->fullId(); return std::make_shared([=] { if (const auto strong = weak.get()) { strong->data()->toggleReaction(emoji); diff --git a/Telegram/SourceFiles/history/view/history_view_react_animation.cpp b/Telegram/SourceFiles/history/view/history_view_react_animation.cpp index 58857bb12..ff77fd635 100644 --- a/Telegram/SourceFiles/history/view/history_view_react_animation.cpp +++ b/Telegram/SourceFiles/history/view/history_view_react_animation.cpp @@ -110,7 +110,6 @@ int SendAnimation::computeParabolicTop( int to, float64 progress) const { const auto t = progress; - const auto c = from; // result = a * t * t + b * t + c diff --git a/Telegram/SourceFiles/window/notifications_manager.cpp b/Telegram/SourceFiles/window/notifications_manager.cpp index 1ffd7e7cf..f2fcbb5d2 100644 --- a/Telegram/SourceFiles/window/notifications_manager.cpp +++ b/Telegram/SourceFiles/window/notifications_manager.cpp @@ -370,7 +370,6 @@ void System::checkDelayed() { for (auto i = _settingWaiters.begin(); i != _settingWaiters.end();) { const auto history = i->first; const auto peer = history->peer; - auto notifyMuted = i->second.alsoMuted; auto loaded = false; auto muted = false; if (!peer->owner().notifyMuteUnknown(peer)) { diff --git a/Telegram/lib_lottie b/Telegram/lib_lottie index 513fd602e..17fbf3dec 160000 --- a/Telegram/lib_lottie +++ b/Telegram/lib_lottie @@ -1 +1 @@ -Subproject commit 513fd602e8e26a3743abb7c76d25d98895a1d6a2 +Subproject commit 17fbf3dec42290ed0c00c2458be82f6e8bdd47e9