Idlc::m_pErrorHandler is unused
Change-Id: I41fea5e08381e21dff12f61142a4d54f07a502f4
This commit is contained in:
@@ -117,7 +117,6 @@ private:
|
|||||||
Options* m_pOptions;
|
Options* m_pOptions;
|
||||||
AstStack* m_pScopes;
|
AstStack* m_pScopes;
|
||||||
AstModule* m_pRoot;
|
AstModule* m_pRoot;
|
||||||
ErrorHandler* m_pErrorHandler;
|
|
||||||
OString m_fileName;
|
OString m_fileName;
|
||||||
OString m_mainFileName;
|
OString m_mainFileName;
|
||||||
OString m_realFileName;
|
OString m_realFileName;
|
||||||
|
@@ -212,7 +212,6 @@ Idlc::Idlc(Options* pOptions)
|
|||||||
m_pScopes = new AstStack();
|
m_pScopes = new AstStack();
|
||||||
// init root object after construction
|
// init root object after construction
|
||||||
m_pRoot = nullptr;
|
m_pRoot = nullptr;
|
||||||
m_pErrorHandler = new ErrorHandler();
|
|
||||||
m_bGenerateDoc = m_pOptions->isValid("-C");
|
m_bGenerateDoc = m_pOptions->isValid("-C");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,7 +219,6 @@ Idlc::~Idlc()
|
|||||||
{
|
{
|
||||||
delete m_pRoot;
|
delete m_pRoot;
|
||||||
delete m_pScopes;
|
delete m_pScopes;
|
||||||
delete m_pErrorHandler;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Idlc::init()
|
void Idlc::init()
|
||||||
|
Reference in New Issue
Block a user