Version 3.3: Fix build with GCC.

This commit is contained in:
John Preston 2021-12-08 08:35:03 +04:00
parent 9f117cd680
commit 4b03fd0f23
2 changed files with 0 additions and 6 deletions

View File

@ -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();

View File

@ -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();