]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Avoid SegFault exception
authorazv <azv@opencascade.com>
Thu, 18 Aug 2016 13:40:00 +0000 (16:40 +0300)
committerazv <azv@opencascade.com>
Thu, 18 Aug 2016 13:40:48 +0000 (16:40 +0300)
src/ModelHighAPI/ModelHighAPI_Dumper.cpp

index 5369fe882b2230db299746e8de384faf7af04e46..11bc372cc46f39aeea1750ccd69c830e4bb17773 100644 (file)
@@ -210,9 +210,6 @@ bool ModelHighAPI_Dumper::processSubs(const std::shared_ptr<ModelAPI_CompositeFe
   bool isOk = true;
   // dump all sub-features;
   int aNbSubs = theComposite->numberOfSubs();
-//////////////////////////////////////
-  std::list<ObjectPtr> aList = theComposite->reflist("Features")->list();
-//////////////////////////////////////
   for (int anIndex = 0; anIndex < aNbSubs; ++anIndex) {
     FeaturePtr aFeature = theComposite->subFeature(anIndex);
     if (isDumped(aFeature))