From 3c9054eccf01f9d9c59ce1106bfbfd3c7add4f2e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 13 Apr 2012 13:22:44 +0100 Subject: WaE: -Werror=parentheses --- idlc/source/parser.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'idlc/source') diff --git a/idlc/source/parser.y b/idlc/source/parser.y index ec1dfc0ce31d..bedf2e9c8183 100644 --- a/idlc/source/parser.y +++ b/idlc/source/parser.y @@ -601,7 +601,8 @@ forward_dcl : { pForward = new AstInterface(*$1, NULL, pScope); - if ( pDecl = pScope->lookupByName(pForward->getScopedName()) ) + pDecl = pScope->lookupByName(pForward->getScopedName()); + if ( pDecl ) { if ( (pDecl != pForward) && (pDecl->getNodeType() == NT_interface) ) -- cgit