From f5bcc7d91ca2b1bcd636a9d07b2c888f65469c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 27 Jan 2014 20:16:23 +0000 Subject: [PATCH] coverity#440030 Logically dead code Change-Id: I77428c6cf1f79dcc0e2c5e1d52f9b4b8c88130e3 --- codemaker/source/cppumaker/cppuoptions.cxx | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx index 13088035bd93..9ea0138a6c73 100644 --- a/codemaker/source/cppumaker/cppuoptions.cxx +++ b/codemaker/source/cppumaker/cppuoptions.cxx @@ -293,20 +293,7 @@ sal_Bool CppuOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) } else { - if (bCmdFile) - { - m_inputFiles.push_back(av[i]); - } - else - { - OUString system_filepath; - if (osl_getCommandArg( i-1, &system_filepath.pData ) - != osl_Process_E_None) - { - OSL_ASSERT(false); - } - m_inputFiles.push_back(OUStringToOString(system_filepath, osl_getThreadTextEncoding())); - } + m_inputFiles.push_back(av[i]); } } }