From 44d3885020d6eac4a625d647548dddbac44a2efc Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 3 Apr 2015 23:34:42 +0200 Subject: Remove unneeded variable --- src/core/parser/stack/Stack.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/core/parser/stack') diff --git a/src/core/parser/stack/Stack.cpp b/src/core/parser/stack/Stack.cpp index 0241118..88ddeee 100644 --- a/src/core/parser/stack/Stack.cpp +++ b/src/core/parser/stack/Stack.cpp @@ -295,12 +295,6 @@ static LoggableException buildInvalidCommandException( class StackImpl : public HandlerCallbacks { private: - /** - * Reference at an implementation of the ParserCallbacks instance to which - * certain handler callbacks are directed. - */ - ParserCallbacks &parser; - /** * Reference at the parser context. */ @@ -546,11 +540,7 @@ public: StackImpl::StackImpl(ParserCallbacks &parser, ParserContext &ctx, const std::multimap &states) - : parser(parser), - ctx(ctx), - states(states), - tokenRegistry(parser), - dataReader(nullptr) + : ctx(ctx), states(states), tokenRegistry(parser), dataReader(nullptr) { // If the scope instance is not empty we need to deduce the current parser // state -- cgit v1.2.3