diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astscope.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/astscope.cxx b/idlc/source/astscope.cxx index 3d26b3a1182f..1c0d4fd84101 100644 --- a/idlc/source/astscope.cxx +++ b/idlc/source/astscope.cxx @@ -259,7 +259,6 @@ AstDeclaration* AstScope::lookupPrimitiveType(ExprType type) { AstDeclaration* pDecl = NULL; AstScope* pScope = NULL; - AstBaseType* pBaseType = NULL; OString typeName; pDecl = scopeAsDecl(this); if ( !pDecl ) @@ -324,7 +323,7 @@ AstDeclaration* AstScope::lookupPrimitiveType(ExprType type) if ( pDecl && (pDecl->getNodeType() == NT_predefined) ) { - pBaseType = (AstBaseType*)pDecl; + AstBaseType* pBaseType = (AstBaseType*)pDecl; if ( pBaseType->getExprType() == type ) return pDecl; |