From: azv Date: Thu, 18 Aug 2016 13:40:00 +0000 (+0300) Subject: Avoid SegFault exception X-Git-Tag: V_2.5.0~137^2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ae5d15af09f55b39bf39907fe6aad449d78a0eca;p=modules%2Fshaper.git Avoid SegFault exception --- diff --git a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp index 5369fe882..11bc372cc 100644 --- a/src/ModelHighAPI/ModelHighAPI_Dumper.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Dumper.cpp @@ -210,9 +210,6 @@ bool ModelHighAPI_Dumper::processSubs(const std::shared_ptrnumberOfSubs(); -////////////////////////////////////// - std::list aList = theComposite->reflist("Features")->list(); -////////////////////////////////////// for (int anIndex = 0; anIndex < aNbSubs; ++anIndex) { FeaturePtr aFeature = theComposite->subFeature(anIndex); if (isDumped(aFeature))