coverity#440030 Logically dead code

Change-Id: I77428c6cf1f79dcc0e2c5e1d52f9b4b8c88130e3
This commit is contained in:
Caolán McNamara 2014-01-27 20:16:23 +00:00
parent d09c534c98
commit f5bcc7d91c

View File

@ -292,22 +292,9 @@ 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()));
}
}
}
}