[Libreoffice-commits] .: idlc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Apr 13 05:22:50 PDT 2012
idlc/source/parser.y | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3c9054eccf01f9d9c59ce1106bfbfd3c7add4f2e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Apr 13 13:22:44 2012 +0100
WaE: -Werror=parentheses
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index ec1dfc0..bedf2e9 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) )
More information about the Libreoffice-commits
mailing list