[PATCH 4/6] [cppchecker] deleted unneded var and code simplified in desktop, launcher.cxx

Pierre-André Jacquod pjacquod at alumni.ethz.ch
Fri Sep 9 12:34:32 PDT 2011


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 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx
index a7a17b5..fd8edb1 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) );
 
-- 
1.7.3.4


--------------080908080707040506040403
Content-Type: text/x-patch;
 name="0003-cppchecker-deleted-unneded-var-in-setup_native-migra.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0003-cppchecker-deleted-unneded-var-in-setup_native-migra.pa";
 filename*1="tch"



More information about the LibreOffice mailing list