summaryrefslogtreecommitdiff
path: root/idlc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-13 13:22:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-13 13:22:44 +0100
commit3c9054eccf01f9d9c59ce1106bfbfd3c7add4f2e (patch)
tree7f2b7ffe55b4024ab958d2ab7cac5a293e6bec39 /idlc/source
parent35fb870b5f4382b8e589b29c72f2623c6b2fd0c0 (diff)
WaE: -Werror=parentheses
Diffstat (limited to 'idlc/source')
-rw-r--r--idlc/source/parser.y3
1 files changed, 2 insertions, 1 deletions
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) )