diff --git a/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp b/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp index 237c30b87..8f8b15ecf 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_media_unwrapped.cpp @@ -125,9 +125,6 @@ QSize UnwrappedMedia::countCurrentSize(int newWidth) { if (via) { via->resize(availw); } - if (reply) { - [[maybe_unused]] int height = reply->resizeToWidth(availw); - } } return { newWidth, newHeight }; }