summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astunion.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/idlc/source/astunion.cxx b/idlc/source/astunion.cxx
index 20daa677ec85..827dbbda61eb 100644
--- a/idlc/source/astunion.cxx
+++ b/idlc/source/astunion.cxx
@@ -47,12 +47,6 @@ AstUnion::AstUnion(const ::rtl::OString& name, AstType* pDiscType, AstScope* pSc
if ( pDiscType->getNodeType() == NT_predefined )
{
pBaseType = (AstBaseType*)pDiscType;
- if ( !pBaseType )
- {
- m_pDiscriminantType = NULL;
- m_discExprType = ET_none;
- return;
- }
m_pDiscriminantType = pDiscType;
switch (pBaseType->getExprType())
{