Fix build with GCC.

This commit is contained in:
John Preston 2023-07-13 21:23:30 +04:00
parent ac136638a4
commit 74014d18a5
1 changed files with 0 additions and 3 deletions

View File

@ -180,9 +180,6 @@ void InnerWidget::createButtons() {
return;
}
const auto &small = st::dialogsStories;
const auto count = int(content.elements.size());
const auto smallWidth = small.photo + (count - 1) * small.shift;
const auto real = smallWidth;
const auto height = small.photo + 2 * small.photoTop;
const auto top = (size.height() - height) / 2;
const auto right = st::settingsButtonRightSkip