[Uml-devel] KDE/kdesdk/umbrello/umbrello/dialogs

Oliver Kellogg okellogg at users.sourceforge.net
Mon Feb 25 06:27:47 UTC 2008


SVN commit 778986 by okellogg:

Fix possible access before initialization reported by dashboard

 M  +1 -1      classifierlistpage.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/classifierlistpage.cpp #778985:778986
@@ -275,7 +275,7 @@
     // there are no items of course;
     //
     // for more information see Qt doc for void QListBox::clearSelection()
-    UMLClassifierListItem* listItem;
+    UMLClassifierListItem* listItem = NULL;
     if (item == NULL) {
         if (m_pItemListLB->count() == 0) {
             enableWidgets(false);




More information about the umbrello-devel mailing list