From 332dbe0df2ac8d746ac3ce621dd947c379dde776 Mon Sep 17 00:00:00 2001 From: Pierre-André Jacquod Date: Fri, 9 Sep 2011 21:34:32 +0200 Subject: deleted unneded var and code simplified in desktop, launcher.cxx Also deleted a part of the code that did nothing, just defining variable and reading them as argument. --- desktop/win32/source/applauncher/launcher.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'desktop') diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx index a7a17b59a215..fd8edb10a99a 100644 --- a/desktop/win32/source/applauncher/launcher.cxx +++ b/desktop/win32/source/applauncher/launcher.cxx @@ -67,11 +67,6 @@ extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) LPTSTR lpCommandLine = GetCommandLine(); - LPTSTR *ppArguments = NULL; - int nArguments = 0; - - ppArguments = GetArgv( &nArguments ); - { lpCommandLine = (LPTSTR)_alloca( sizeof(_TCHAR) * (_tcslen(lpCommandLine) + _tcslen(APPLICATION_SWITCH) + 2) ); -- cgit