From 9c57e312565aaafc91cbdcb75b0eb22b28298c81 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 11 Mar 2022 17:09:18 +0400 Subject: [PATCH] Version 3.6: Fix build with GCC. --- Telegram/SourceFiles/info/info_wrap_widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/info/info_wrap_widget.cpp b/Telegram/SourceFiles/info/info_wrap_widget.cpp index 6972a22426..28da06c3fe 100644 --- a/Telegram/SourceFiles/info/info_wrap_widget.cpp +++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp @@ -407,10 +407,10 @@ void WrapWidget::createTopBar() { manager.loadedRemoved() | rpl::map_to(false) ) | rpl::start_with_next([=, &manager](bool definitelyHas) { const auto has = [&] { - for (const auto id : manager.loadingList()) { + for ([[maybe_unused]] const auto id : manager.loadingList()) { return true; } - for (const auto id : manager.loadedList()) { + for ([[maybe_unused]] const auto id : manager.loadedList()) { return true; } return false;