2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix -Wunused-variable warnings

This commit is contained in:
Ilya Fedin
2021-07-13 21:51:07 +04:00
committed by John Preston
parent b6881022ce
commit 79cc797aff
156 changed files with 65 additions and 435 deletions

View File

@@ -776,8 +776,6 @@ void SetupMessages(
st::settingsSendType),
st::settingsSendTypePadding);
};
const auto small = st::settingsSendTypePadding;
const auto top = skip;
add(SendByType::Enter, tr::lng_settings_send_enter(tr::now));
add(
SendByType::CtrlEnter,
@@ -1129,7 +1127,6 @@ void SetupDefaultThemes(
const auto fullSkips = width - count * single;
const auto skip = fullSkips / float64(skips);
auto left = padding.left() + 0.;
auto index = 0;
for (const auto button : buttons) {
button->resizeToWidth(single);
button->moveToLeft(int(std::round(left)), 0);