From ba98a8df320c3d934142ec356e9111611aee1e94 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 31 Dec 2021 23:32:53 +0300 Subject: [PATCH] Version 3.4.2: Fix build with GCC. --- Telegram/SourceFiles/history/view/history_view_message.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 139527f47..4a51bb2e2 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -937,7 +937,6 @@ void Message::paintFromName( const auto nameText = [&]() -> const Ui::Text::String * { const auto from = item->displayFrom(); const auto service = (context.outbg || item->isPost()); - const auto sponsored = service && item->isSponsored(); const auto st = context.st; if (from) { p.setPen(!service