for (anIter.Initialize(aListFaces); anIter.More();) {
const TopoDS_Shape &aFace = anIter.Value();
- Standard_Boolean isFaceUsed = Standard_False;
+ //Standard_Boolean isFaceUsed = Standard_False;
if (aMapFaces.Contains(aFace) || aSewing.IsModified(aFace)) {
// Remove face from the list.
B.MakeWire(aWire);
// add edges
- for (unsigned int ind = 1; ind <= theEdgesFuncs->Length(); ind++) {
+ for (int ind = 1; ind <= theEdgesFuncs->Length(); ind++) {
Handle(GEOM_Function) aRefShape = Handle(GEOM_Function)::DownCast(theEdgesFuncs->Value(ind));
TopoDS_Shape aShape_i = aRefShape->GetValue();
if (aShape_i.IsNull()) {
TColStd_SequenceOfReal FparSeq;
TColStd_SequenceOfReal LparSeq;
TColStd_SequenceOfReal TolSeq;
- GeomAbs_CurveType CurType;
+ GeomAbs_CurveType CurType = GeomAbs_OtherCurve; // todo: refactor: CurType must be explicitly initialized to avoid warning (see below)
TopoDS_Vertex FirstVertex, LastVertex;
Standard_Real aPntShiftDist = 0.;
LocSeq.Append(aLocShape);
FparSeq.Append(fpar);
LparSeq.Append(lpar);
- CurType = aType;
+ CurType = aType; // todo: refactor: CurType must be explicitly initialized to avoid warning (see above)
FirstVertex = wexp.CurrentVertex();
}
else
}
break;
}
+ default:
+ break;
} //end of switch (aType)
} // end of else if (aType == CurType && ...
if (Done)
return true;
}
-IMPLEMENT_STANDARD_RTTIEXT (GEOMImpl_ShapeDriver,GEOM_BaseDriver);
+IMPLEMENT_STANDARD_RTTIEXT (GEOMImpl_ShapeDriver,GEOM_BaseDriver)
//modified by NIZNHY-PKV Wed Dec 28 13:48:31 2011f
#include <TopoDS_Iterator.hxx>