Kaydet (Commit) e972d6bb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Idlc::m_pErrorHandler is unused

Change-Id: I41fea5e08381e21dff12f61142a4d54f07a502f4
üst 4c8154bf
...@@ -117,7 +117,6 @@ private: ...@@ -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) ...@@ -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() ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment