From: akl Date: Fri, 6 Dec 2013 06:09:42 +0000 (+0000) Subject: Fix of crash at node deletion. X-Git-Tag: V7_3_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e8c708f2b0f37d0137249b4cf51313b35dc39e2;p=modules%2Fyacs.git Fix of crash at node deletion. --- diff --git a/src/hmi/guiObservers.cxx b/src/hmi/guiObservers.cxx index a4cbf7da9..01709dfac 100644 --- a/src/hmi/guiObservers.cxx +++ b/src/hmi/guiObservers.cxx @@ -243,8 +243,8 @@ bool Subject::destroy(Subject *son) string endnode = ""; string startport = ""; string endport = ""; - TypeOfElem startportType; - TypeOfElem endportType; + TypeOfElem startportType = UNKNOWN; + TypeOfElem endportType = UNKNOWN; if (dynamic_cast(son)) startnode = proc->getName();