From e972d6bb36efaa14eb4983c835491cbcd6283e91 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 21 Feb 2017 07:37:08 +0100 Subject: Idlc::m_pErrorHandler is unused Change-Id: I41fea5e08381e21dff12f61142a4d54f07a502f4 --- idlc/inc/idlc.hxx | 1 - idlc/source/idlc.cxx | 2 -- 2 files changed, 3 deletions(-) (limited to 'idlc') 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() -- cgit