From 9e8c708f2b0f37d0137249b4cf51313b35dc39e2 Mon Sep 17 00:00:00 2001 From: akl Date: Fri, 6 Dec 2013 06:09:42 +0000 Subject: [PATCH] Fix of crash at node deletion. --- src/hmi/guiObservers.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2