Idlc::m_pErrorHandler is unused

Change-Id: I41fea5e08381e21dff12f61142a4d54f07a502f4
This commit is contained in:
Stephan Bergmann 2017-02-21 07:37:08 +01:00
parent 4c8154bfd9
commit e972d6bb36
2 changed files with 0 additions and 3 deletions

View File

@ -117,7 +117,6 @@ private:
Options* m_pOptions;
AstStack* m_pScopes;
AstModule* m_pRoot;
ErrorHandler* m_pErrorHandler;
OString m_fileName;
OString m_mainFileName;
OString m_realFileName;

View File

@ -212,7 +212,6 @@ Idlc::Idlc(Options* pOptions)
m_pScopes = new AstStack();
// init root object after construction
m_pRoot = nullptr;
m_pErrorHandler = new ErrorHandler();
m_bGenerateDoc = m_pOptions->isValid("-C");
}
@ -220,7 +219,6 @@ Idlc::~Idlc()
{
delete m_pRoot;
delete m_pScopes;
delete m_pErrorHandler;
}
void Idlc::init()