summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Preston <johnprestonmail@gmail.com>2023-11-06 20:31:11 +0400
committerJohn Preston <johnprestonmail@gmail.com>2023-11-06 20:31:11 +0400
commit4e915e9d1ae058054559e97e12987b9651d33904 (patch)
tree0de92d1c2d4caabeb1304a9f3685826ae0cd2b25
parent86d628077681fad0a228d6b60f9497f5bd3cf383 (diff)
Beta version 4.11.4: Fix build with GCC.v4.11.4
-rw-r--r--Telegram/SourceFiles/history/view/history_view_message.cpp1
-rw-r--r--Telegram/SourceFiles/history/view/history_view_reply.cpp1
-rw-r--r--Telegram/SourceFiles/info/boosts/giveaway/select_countries_box.cpp1
m---------Telegram/lib_ui0
4 files changed, 0 insertions, 3 deletions
diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp
index dd061d8194..c92b057157 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 f6c069db70..6899a08324 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 9c3968bb3b..4194ed98c4 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
-Subproject f59c13455ce53933b9024fa32fd3a5f4e7ed040
+Subproject 0837a6364d85fc2b057d14b3548d7d7b644adab