diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 20:16:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:15 +0000 |
commit | f5bcc7d91ca2b1bcd636a9d07b2c888f65469c2f (patch) | |
tree | 71aec927576db308f92cbe102e0440f3a7f18d33 /codemaker | |
parent | d09c534c982cdb37535c03504ec7420636efb033 (diff) |
coverity#440030 Logically dead code
Change-Id: I77428c6cf1f79dcc0e2c5e1d52f9b4b8c88130e3
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cppuoptions.cxx | 15 |
1 files changed, 1 insertions, 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]); } } } |