From 6bab8b011b84f8b58e404d1f72a68a4dcf760dd6 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Mon, 13 Dec 2021 10:39:30 +0300 Subject: [PATCH] Commented out unused variable in ParticipantsBoxController --- Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp index d78871812..3b4977b2d 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp @@ -1976,7 +1976,7 @@ void ParticipantsBoxController::recomputeTypeFor( void ParticipantsBoxController::refreshCustomStatus( not_null row) const { const auto participant = row->peer(); - const auto user = participant->asUser(); + // const auto user = participant->asUser(); if (_role == Role::Admins) { /* Assert(user != nullptr);