mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix -Wunused-variable warnings
This commit is contained in:
@@ -62,7 +62,6 @@ void CheckoutProcess::Start(
|
||||
Mode mode,
|
||||
Fn<void()> reactivate) {
|
||||
auto &processes = LookupSessionProcesses(item);
|
||||
const auto session = &item->history()->session();
|
||||
const auto media = item->media();
|
||||
const auto invoice = media ? media->invoice() : nullptr;
|
||||
if (mode == Mode::Payment && !invoice) {
|
||||
|
Reference in New Issue
Block a user