From 84068dae548d8498bf63f5fe2273a44b9fc638bb Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Sun, 7 Apr 2013 09:42:18 -0400 Subject: [PATCH] fix logical-op-parenthesis warning Change-Id: Ib97f667c9acb644c3becb81f851ad8c7e4ff31ea --- idlc/source/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idlc/source/parser.y b/idlc/source/parser.y index e338e57be7aa..528bc966cd5a 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -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) ) {