Fix build with GCC.

This commit is contained in:
John Preston 2022-12-26 14:26:49 +04:00
parent 0ae819397a
commit 168cdaf350
3 changed files with 0 additions and 3 deletions

View File

@ -4070,7 +4070,6 @@ void HistoryItem::setSelfDestruct(HistoryServiceSelfDestruct::Type type, int ttl
PreparedServiceText HistoryItem::prepareInvitedToCallText(
const std::vector<not_null<UserData*>> &users,
CallId linkCallId) {
const auto owner = &_history->owner();
auto chatText = tr::lng_action_invite_user_chat(
tr::now,
Ui::Text::WithEntities);

View File

@ -846,7 +846,6 @@ void Gif::validateSpoilerImageCache(
Qt::SmoothTransformation));
return &*container;
};
const auto videothumb = _videoThumbnailFrame.get();
const auto embedded = _dataMedia->thumbnailInline();
const auto blurred = embedded ? embedded : downscale(normal);
_spoiler->background = Images::Round(

View File

@ -227,7 +227,6 @@ void ReactionFlyAnimation::paintMiniCopies(
}
auto hq = PainterHighQualityEnabler(p);
const auto size = QSize(_customSize, _customSize);
const auto preview = QColor(0, 0, 0, 0);
const auto progress = _minis.value(1.);
const auto middle = center - QPoint(_customSize / 2, _customSize / 2);
const auto scaleIn = kMiniCopiesScaleInDuration