From e9a97ea6a4fa4b45d25a8c49b2576cdaf131d49d Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Wed, 21 Oct 2009 16:44:07 +0200
Subject: [PATCH] Initialize m_line and m_column

---
 src/plugins/cpptools/cpptoolseditorsupport.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/cpptools/cpptoolseditorsupport.cpp b/src/plugins/cpptools/cpptoolseditorsupport.cpp
index db9e984b1ac..90811aad5a3 100644
--- a/src/plugins/cpptools/cpptoolseditorsupport.cpp
+++ b/src/plugins/cpptools/cpptoolseditorsupport.cpp
@@ -165,7 +165,8 @@ class CheckDocument: protected ASTVisitor
 
 public:
     CheckDocument(Document::Ptr doc, Snapshot snapshot)
-        : ASTVisitor(doc->control()), _doc(doc), _snapshot(snapshot)
+        : ASTVisitor(doc->control()), _doc(doc), _snapshot(snapshot),
+          _line(0), _column(0)
     { }
 
     QList<QuickFixOperationPtr> operator()(QTextCursor tc)
-- 
GitLab