From 510e1e9cdfceee4fc36173df2ced7c51ab9278e2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 31 Oct 2021 11:01:30 +0400 Subject: [PATCH] Fix one more unused variable warning. --- .../SourceFiles/history/view/history_view_requests_bar.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp b/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp index 820b5f7e4..a64b7b04c 100644 --- a/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp +++ b/Telegram/SourceFiles/history/view/history_view_requests_bar.cpp @@ -18,7 +18,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/chat/requests_bar.h" #include "ui/chat/group_call_userpics.h" #include "info/profile/info_profile_values.h" -#include "apiwrap.h" namespace HistoryView { @@ -103,8 +102,6 @@ rpl::producer RequestsBarContentByPeer( }; return [=](auto consumer) { - const auto api = &peer->session().api(); - auto lifetime = rpl::lifetime(); auto state = lifetime.make_state(peer);