From 6f5bf29e71301d9bd7e82647acc9c98a352bb16c Mon Sep 17 00:00:00 2001 From: Bill King <bill.king@nokia.com> Date: Mon, 21 Jun 2010 15:02:01 +1000 Subject: [PATCH] Coverity: Fixes minor uninitialised constructor values issue. --- src/shared/proparser/profileparser.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/shared/proparser/profileparser.cpp b/src/shared/proparser/profileparser.cpp index 1a55dcc7a60..125e09c6733 100644 --- a/src/shared/proparser/profileparser.cpp +++ b/src/shared/proparser/profileparser.cpp @@ -107,7 +107,13 @@ void ProFileParser::initialize() } ProFileParser::ProFileParser(ProFileCache *cache, ProFileParserHandler *handler) - : m_cache(cache) + : m_lineNo(0) + , m_state(StNew) + , m_markLine(0) + , m_canElse(false) + , m_invert(false) + , m_operator(NoOperator) + , m_cache(cache) , m_handler(handler) { // So that single-threaded apps don't have to call initialize() for now. -- GitLab