fix logical-op-parenthesis warning
Change-Id: Ib97f667c9acb644c3becb81f851ad8c7e4ff31ea
This commit is contained in:
parent
7c790d544d
commit
84068dae54
@ -1707,7 +1707,7 @@ service_export :
|
||||
pDecl = pScope->lookupByName(*iter);
|
||||
if ( pDecl && (pDecl->getNodeType() == NT_service) )
|
||||
{
|
||||
if ( static_cast< AstService * >(pDecl)->isSingleInterfaceBasedService() || pScope->getScopeNodeType() == NT_singleton && pScope->nMembers() > 0 )
|
||||
if ( static_cast< AstService * >(pDecl)->isSingleInterfaceBasedService() || (pScope->getScopeNodeType() == NT_singleton && pScope->nMembers() > 0) )
|
||||
idlc()->error()->error0(EIDL_ILLEGAL_ADD);
|
||||
else if ( idlc()->error()->checkPublished(pDecl) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user