From 1b26448ae0a05107ca3abcc95ff0cacc94ce4fad Mon Sep 17 00:00:00 2001 From: Eric Kotato Date: Mon, 1 Jul 2024 19:15:36 +0300 Subject: [PATCH] Remove duplicated code in Linux updater --- Telegram/SourceFiles/_other/updater_linux.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Telegram/SourceFiles/_other/updater_linux.cpp b/Telegram/SourceFiles/_other/updater_linux.cpp index 30091a497..09c4983d9 100644 --- a/Telegram/SourceFiles/_other/updater_linux.cpp +++ b/Telegram/SourceFiles/_other/updater_linux.cpp @@ -504,12 +504,6 @@ int main(int argc, char *argv[]) { push("-workdir"); push(workdir); } - - auto args = vector(); - for (auto &arg : values) { - args.push_back(arg.data()); - } - args.push_back(nullptr); if (!useEnvApi) push("-no-env-api"); if (customApiId && customApiHash) {