]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Selector/Selector_Container.cpp
Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / Selector / Selector_Container.cpp
index b03621166b56bbf744600a2686795cde196991e8..8b5c537ed33924c9416dddb19f8a750211bb5b0e 100644 (file)
@@ -70,7 +70,6 @@ bool Selector_Container::restore()
     return false;
   myShapeType = TopAbs_ShapeEnum(aShapeTypeAttr->Get());
   // restore sub-selectors
-  bool aSubResult = true;
   for(TDF_ChildIterator aSub(label(), false); aSub.More(); aSub.Next()) {
     Selector_Algo* aSubSel = restoreByLab(aSub.Value(), baseDocument());
     if (!append(aSubSel, false)) {
@@ -161,6 +160,8 @@ bool Selector_Container::solve(const TopoDS_Shape& theContext)
     aResult = aWire;
     break;
   }
+  default:
+    break;
   }
   TopoDS_ListOfShape aSubSelectorShapes;
   std::list<Selector_Algo*>::const_iterator aSubSel = list().cbegin();