summaryrefslogtreecommitdiff
path: root/desktop/win32
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-09 21:34:32 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-09-12 10:21:16 +0300
commit332dbe0df2ac8d746ac3ce621dd947c379dde776 (patch)
tree2d095639dda7f91f2391e3fa5398f9d23410ffa2 /desktop/win32
parent43b5c9e772eacbd1bdf607b1e55d5fffb6c51ef4 (diff)
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.
Diffstat (limited to 'desktop/win32')
-rw-r--r--desktop/win32/source/applauncher/launcher.cxx5
1 files changed, 0 insertions, 5 deletions
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) );