summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-21 07:37:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:37:08 +0100
commite972d6bb36efaa14eb4983c835491cbcd6283e91 (patch)
treea7ca6a03fd12921860ab630ef4a10cc89b7e4200 /idlc
parent4c8154bfd97fe650d2222dc095b18150a10dc626 (diff)
Idlc::m_pErrorHandler is unused
Change-Id: I41fea5e08381e21dff12f61142a4d54f07a502f4
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc.hxx1
-rw-r--r--idlc/source/idlc.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx
index 20665ba8dd50..2811c6b6b027 100644
--- a/idlc/inc/idlc.hxx
+++ b/idlc/inc/idlc.hxx
@@ -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;
diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx
index 74e4c35dd457..2d2a94a2d14e 100644
--- a/idlc/source/idlc.cxx
+++ b/idlc/source/idlc.cxx
@@ -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()