From 25363b4e4594c610c643cd1025119bb6188677d1 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Fri, 22 Mar 2013 19:53:41 +0100 Subject: coverity#440066 Logically dead code Change-Id: I54d1b22859bd4f0a1e68ce79ed2ce4d7fbeb5107 --- idlc/source/astunion.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'idlc') 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()) { -- cgit