]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Fix of crash at node deletion.
authorakl <akl@opencascade.com>
Fri, 6 Dec 2013 06:09:42 +0000 (06:09 +0000)
committerakl <akl@opencascade.com>
Fri, 6 Dec 2013 06:09:42 +0000 (06:09 +0000)
src/hmi/guiObservers.cxx

index a4cbf7da901cd2fc2e27044399bfb8ef5d9ad292..01709dfacc2378eae08b4e324df83862161e81ce 100644 (file)
@@ -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<SubjectProc*>(son))
     startnode = proc->getName();