summaryrefslogtreecommitdiff
path: root/idlc/source/idlc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/idlc.cxx')
-rw-r--r--idlc/source/idlc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 2fd29096a5ee..4002b1395afd 100644
--- a/idlc/source/idlc.cxx
+++ b/idlc/source/idlc.cxx
@@ -153,10 +153,9 @@ static void SAL_CALL predefineXInterface(AstModule* pRoot)
static void SAL_CALL initializePredefinedTypes(AstModule* pRoot)
{
- AstBaseType* pPredefined = NULL;
if ( pRoot )
{
- pPredefined = new AstBaseType(ET_long, OString("long"), pRoot);
+ AstBaseType* pPredefined = new AstBaseType(ET_long, OString("long"), pRoot);
pRoot->addDeclaration(pPredefined);
pPredefined = new AstBaseType(ET_ulong, OString("unsigned long"), pRoot);