Fix one more unused variable warning.

This commit is contained in:
John Preston 2021-10-31 11:01:30 +04:00
parent 057e8ce391
commit 510e1e9cdf
1 changed files with 0 additions and 3 deletions

View File

@ -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<Ui::RequestsBarContent> RequestsBarContentByPeer(
};
return [=](auto consumer) {
const auto api = &peer->session().api();
auto lifetime = rpl::lifetime();
auto state = lifetime.make_state<State>(peer);