coverity#735399 Logically dead code

we can only enter the bAssumeExprLParenMode controlled block once
because the block sets bAssumeExprLParenMode to false

bAssumeExprLParenMode is only true if the first token read in the
method is LPAREN

so we can only enter this block if the current token is LPAREN and
its the first token processed, so the token can't be BYVAL

Change-Id: I6e668fca4d127d7dbfe447e2d9f2231e05278a7d
This commit is contained in:
Caolán McNamara 2014-11-17 12:40:45 +00:00
parent 9d3c54c981
commit 6b709b27b3

View File

@ -1071,10 +1071,6 @@ SbiParameters::SbiParameters( SbiParser* p, bool bStandaloneExpression, bool bPa
{
bBracket = true;
delete pExpr;
if( bByVal )
{
pParser->Error( SbERR_LVALUE_EXPECTED );
}
return;
}
}