[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-2/kile/kile
From:       Klas Kalass <klas.kalass () gmx ! de>
Date:       2004-01-02 11:51:09
Message-ID: 20040102115109.BF84E93EA () office ! kde ! org
[Download RAW message or body]

CVS commit by kalass: 

valgrind initialization fix - m_root is accessed before first initialization. 


  M +6 -1      kilestructurewidget.cpp   1.3


--- kdeextragear-2/kile/kile/kilestructurewidget.cpp  #1.2:1.3
@@ -33,5 +33,10 @@ namespace KileWidget
                 KListView(parent,name),
                 m_ki(ki),
-                m_docinfo(0L)
+                m_docinfo(0L),
+                m_label(0L),
+                m_current(0L),
+                m_root(0L), 
+                m_child(0L), 
+                m_lastChild(0L)
         {
                 kdDebug() << "==KileWidget::Structure::Structure()===========" << endl;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic