From 1f5d65e4a30b6bbf763dc1a6c26485fe4786fc1b Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Sun, 24 Jan 2010 11:09:43 +0100 Subject: [PATCH] Initialize Parser::depth --- src/shared/cplusplus/Parser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/cplusplus/Parser.cpp b/src/shared/cplusplus/Parser.cpp index 44f299847ac..90631494a50 100644 --- a/src/shared/cplusplus/Parser.cpp +++ b/src/shared/cplusplus/Parser.cpp @@ -126,7 +126,8 @@ Parser::Parser(TranslationUnit *unit) _qtMocRunEnabled(false), _objCEnabled(false), _inFunctionBody(false), - _inObjCImplementationContext(false) + _inObjCImplementationContext(false), + depth(0) { } Parser::~Parser() -- GitLab