diff options
Diffstat (limited to 'idlc/source/astdump.cxx')
-rw-r--r-- | idlc/source/astdump.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index 90b182c8de7d..e0f786b68505 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -69,11 +69,10 @@ bool AstModule::dump(RegistryKey& rKey) DeclList::const_iterator iter = getIteratorBegin(); DeclList::const_iterator end = getIteratorEnd(); - AstDeclaration* pDecl = NULL; sal_uInt16 index = 0; while ( iter != end ) { - pDecl = *iter; + AstDeclaration* pDecl = *iter; if ( pDecl->getNodeType() == NT_const && pDecl->isInMainfile() ) { |