mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fixed some unused-but-set-variable warnings.
This commit is contained in:
@@ -7416,7 +7416,7 @@ bool HistoryWidget::showSlowmodeError() {
|
||||
Ui::FormatDurationWordsSlowmode(left));
|
||||
} else if (_peer->slowmodeApplied()) {
|
||||
if (const auto item = _history->latestSendingMessage()) {
|
||||
if (const auto view = item->mainView()) {
|
||||
if (item->mainView()) {
|
||||
animatedScrollToItem(item->id);
|
||||
enqueueMessageHighlight({ item });
|
||||
}
|
||||
|
Reference in New Issue
Block a user