tdf#163486: PVS: Expression is always true
V560 A part of conditional expression is always true: pArguments == nullptr. Change-Id: I1fd44091173ed81cdb0c4a4e27e9408cb6a25e5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176578 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
16e3b84d2e
commit
7b7d935478
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ oslProcessError SAL_CALL osl_executeProcess_WithRedirectedIO(
|
|||
pszWorkDir = szWorkDir;
|
||||
}
|
||||
|
||||
if ( pArguments == nullptr && nArguments > 0 )
|
||||
if ( nArguments > 0 )
|
||||
{
|
||||
pArguments = static_cast<char**>(malloc( ( nArguments + 2 ) * sizeof(char*) ));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue