diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index dd061d819..c92b05715 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -1829,7 +1829,6 @@ void Message::toggleReplyRipple(bool pressed) { if (!unwrapped()) { const auto &padding = st::msgPadding; const auto geometry = countGeometry(); - const auto item = data(); const auto margins = reply->margins(); const auto size = QSize( geometry.width() - padding.left() - padding.right(), diff --git a/Telegram/SourceFiles/history/view/history_view_reply.cpp b/Telegram/SourceFiles/history/view/history_view_reply.cpp index f6c069db7..6899a0832 100644 --- a/Telegram/SourceFiles/history/view/history_view_reply.cpp +++ b/Telegram/SourceFiles/history/view/history_view_reply.cpp @@ -388,7 +388,6 @@ void Reply::updateName( not_null<HistoryMessageReply*> data, std::optional<PeerData*> resolvedSender) const { auto viaBotUsername = QString(); - const auto story = data->resolvedStory.get(); const auto message = data->resolvedMessage.get(); if (message && !message->Has<HistoryMessageForwarded>()) { if (const auto bot = message->viaBot()) { diff --git a/Telegram/SourceFiles/info/boosts/giveaway/select_countries_box.cpp b/Telegram/SourceFiles/info/boosts/giveaway/select_countries_box.cpp index 9c3968bb3..4194ed98c 100644 --- a/Telegram/SourceFiles/info/boosts/giveaway/select_countries_box.cpp +++ b/Telegram/SourceFiles/info/boosts/giveaway/select_countries_box.cpp @@ -93,7 +93,6 @@ void SelectCountriesBox( buttons.reserve(countries.size()); for (const auto &country : countries) { const auto flag = Countries::Instance().flagEmojiByISO2(country.iso2); - const auto asd = Ui::Emoji::Find(flag); if (!Ui::Emoji::Find(flag)) { continue; } diff --git a/Telegram/lib_ui b/Telegram/lib_ui index f59c13455..0837a6364 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit f59c13455ce53933b9024fa32fd3a5f4e7ed0405 +Subproject commit 0837a6364d85fc2b057d14b3548d7d7b644adab3