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

Trying to get rid of unused variables...

This commit is contained in:
Ilya Fedin
2021-03-14 00:08:07 +04:00
committed by John Preston
parent 12e306dd7b
commit ae0b9141dd
16 changed files with 8 additions and 19 deletions

View File

@@ -464,7 +464,6 @@ void Rows::showMenu(int index) {
Fn<void()> callback) {
return _menu->addAction(text, std::move(callback));
};
const auto id = row->data.id;
if (canShare(row)) {
addAction(tr::lng_proxy_edit_share(tr::now), [=] { share(row); });
}