Skip to content

Commit

Permalink
Remove duplicated code in Linux updater
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed Jul 1, 2024
1 parent fbb22eb commit 1b26448
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Telegram/SourceFiles/_other/updater_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,12 +504,6 @@ int main(int argc, char *argv[]) {
push("-workdir");
push(workdir);
}

auto args = vector<char*>();
for (auto &arg : values) {
args.push_back(arg.data());
}
args.push_back(nullptr);

if (!useEnvApi) push("-no-env-api");
if (customApiId && customApiHash) {
Expand Down

0 comments on commit 1b26448

Please sign in to comment.