diff options
Diffstat (limited to 'Source/Core/WinUpdater/Main.cpp')
| -rw-r--r-- | Source/Core/WinUpdater/Main.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/Core/WinUpdater/Main.cpp b/Source/Core/WinUpdater/Main.cpp index 6afb807941..567486f00a 100644 --- a/Source/Core/WinUpdater/Main.cpp +++ b/Source/Core/WinUpdater/Main.cpp @@ -16,26 +16,6 @@ #include "UpdaterCommon/UI.h" #include "UpdaterCommon/UpdaterCommon.h" -namespace -{ -std::vector<std::string> CommandLineToUtf8Argv(PCWSTR command_line) -{ - int nargs; - LPWSTR* tokenized = CommandLineToArgvW(command_line, &nargs); - if (!tokenized) - return {}; - - std::vector<std::string> argv(nargs); - for (int i = 0; i < nargs; ++i) - { - argv[i] = WStringToUTF8(tokenized[i]); - } - - LocalFree(tokenized); - return argv; -} -}; // namespace - int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow) { if (lstrlenW(pCmdLine) == 0) |
