From bd67bc4433188c151825c04b2d598b7acbe16407 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Fri, 22 Dec 2023 17:09:44 +0400 Subject: [PATCH] Ignore some unused variables --- Telegram/SourceFiles/history/view/history_view_context_menu.cpp | 2 +- .../history/view/reactions/history_view_reactions_selector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp index cc680ab1d..7d58593d0 100644 --- a/Telegram/SourceFiles/history/view/history_view_context_menu.cpp +++ b/Telegram/SourceFiles/history/view/history_view_context_menu.cpp @@ -109,7 +109,7 @@ void SavePhotoToFile(not_null photo) { return; } - const auto image = media->image(Data::PhotoSize::Large)->original(); + const auto image = media->image(Data::PhotoSize::Large)->original(); // clazy:exclude=unused-non-trivial-variable FileDialog::GetWritePath( Core::App().getFileDialogParent(), tr::lng_save_photo(tr::now), diff --git a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp index 3d0225317..c60a49fa5 100644 --- a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp +++ b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp @@ -806,7 +806,7 @@ void Selector::expand() { createList(); cacheExpandIcon(); - [[maybe_unused]] const auto grabbed = Ui::GrabWidget(_scroll); + [[maybe_unused]] const auto grabbed = Ui::GrabWidget(_scroll); // clazy:exclude=unused-non-trivial-variable _list->prepareExpanding(); setSelected(-1);