Fixed some unused-but-set-variable warnings.

This commit is contained in:
23rd
2025-04-12 20:44:45 +03:00
committed by John Preston
parent 667e614bf3
commit 9ad1d1c25d
55 changed files with 98 additions and 99 deletions
@@ -808,7 +808,7 @@ void AddParticipantsBoxController::rowClicked(not_null<PeerListRow*> row) {
updateTitle();
} else if (const auto channel = _peer ? _peer->asChannel() : nullptr) {
if (!_peer->isMegagroup()) {
showBox(Box<MaxInviteBox>(_peer->asChannel()));
showBox(Box<MaxInviteBox>(channel));
}
} else if (count >= serverConfig.chatSizeMax
&& count < serverConfig.megagroupSizeMax) {