diff --git a/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx b/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx index d69e7bba2..70d754765 100755 --- a/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx +++ b/src/GEOMGUI/GEOMGUI_TextTreeWdg.cxx @@ -319,7 +319,7 @@ void GEOMGUI_TextTreeWdg::updateAnnotationBranch( const QString& theEntry ) //================================================================================= void GEOMGUI_TextTreeWdg::updateObjectName( const QString& theEntry ) { - QTreeWidgetItem* anObjectItem; + QTreeWidgetItem* anObjectItem = 0; QHash anObjects = getObjects( DimensionShape ); if ( anObjects.contains( theEntry ) )