diff --git a/Telegram/SourceFiles/boxes/sessions_box.cpp b/Telegram/SourceFiles/boxes/sessions_box.cpp index c7c79a2573..ca0e9e3ccf 100644 --- a/Telegram/SourceFiles/boxes/sessions_box.cpp +++ b/Telegram/SourceFiles/boxes/sessions_box.cpp @@ -550,11 +550,6 @@ QRect Row::elementGeometry(int element, int outerWidth) const { const auto size = QSize( st::sessionTerminate.width, st::sessionTerminate.height); - const auto margins = QMargins( - 0, - (st::sessionListItem.height - size.height()) / 2, - st::sessionListThreeDotsSkip, - 0); const auto right = st::sessionTerminateSkip; const auto top = st::sessionTerminateTop; const auto left = outerWidth - right - size.width(); diff --git a/Telegram/SourceFiles/data/data_reply_preview.cpp b/Telegram/SourceFiles/data/data_reply_preview.cpp index 39da244df4..cc4cd10823 100644 --- a/Telegram/SourceFiles/data/data_reply_preview.cpp +++ b/Telegram/SourceFiles/data/data_reply_preview.cpp @@ -86,7 +86,6 @@ Image *ReplyPreview::image( } else { Assert(_photo != nullptr); if (!_image || !_good) { - const auto createMedia = !_photoMedia; const auto inlineThumbnailBytes = _photo->inlineThumbnailBytes(); if (!_photoMedia) { _photoMedia = _photo->createMediaView();