diff --git a/Telegram/SourceFiles/chat_helpers/emoji_interactions.cpp b/Telegram/SourceFiles/chat_helpers/emoji_interactions.cpp index 96bc7ac62..4f5a059b9 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_interactions.cpp +++ b/Telegram/SourceFiles/chat_helpers/emoji_interactions.cpp @@ -188,7 +188,6 @@ void EmojiInteractions::startIncoming( if (!animations.empty() && animations.back().scheduledAt >= at) { continue; } - const auto last = !animations.empty() ? &animations.back() : nullptr; const auto listSize = int(list.size()); const auto index = (single.index - 1); if (index < listSize) { diff --git a/Telegram/SourceFiles/core/changelogs.cpp b/Telegram/SourceFiles/core/changelogs.cpp index a208515d8..47d73fc85 100644 --- a/Telegram/SourceFiles/core/changelogs.cpp +++ b/Telegram/SourceFiles/core/changelogs.cpp @@ -58,6 +58,7 @@ std::map BetaLogs() { { 3000005, "- Add support for Emoji 13.1." + } }; }; diff --git a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp index 4cbc91016..665af7149 100644 --- a/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp +++ b/Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp @@ -699,7 +699,6 @@ void TopBarWidget::handleEmojiInteractionSeen(const QString &emoticon) { } }); } else { - const auto animationWidth = seen->animation.width(); const auto skip = st::topBarArrowPadding.bottom(); update( _leftTaken,