diff --git a/src/BRepTest/BRepTest_OtherCommands.cxx b/src/BRepTest/BRepTest_OtherCommands.cxx index 0664d751bc..9abac47b1c 100755 --- a/src/BRepTest/BRepTest_OtherCommands.cxx +++ b/src/BRepTest/BRepTest_OtherCommands.cxx @@ -434,8 +434,6 @@ Standard_Integer xbounds(Draw_Interpretor& di, Standard_Integer n, const char** //======================================================================= Standard_Integer xclassify (Draw_Interpretor& aDI, Standard_Integer n, const char** a) { - char sbf[512]; - if (n < 2) { aDI<<" use xclassify Solid [Tolerance=1.e-7]\n"; return 1; diff --git a/src/IntTools/IntTools_BeanBeanIntersector.cxx b/src/IntTools/IntTools_BeanBeanIntersector.cxx index 9a99bc0106..57fbb6dda4 100755 --- a/src/IntTools/IntTools_BeanBeanIntersector.cxx +++ b/src/IntTools/IntTools_BeanBeanIntersector.cxx @@ -1221,7 +1221,7 @@ Standard_Integer CheckCoincidence(const Standard_Real aT11, GeomAPI_ProjectPointOnCurve& aProjector) { Standard_Integer iErr, aNb1, i, aNbX; - Standard_Real dT1, aT1, aT2, aD, aDmax, aTmin, aTmax; + Standard_Real dT1, aT1, aT2, aD, aDmax, aTmax; Standard_Real aT1A, aT1B, aD1max,aT1max; // iErr=0; // the patches are coincided diff --git a/src/IntTools/IntTools_Context.cxx b/src/IntTools/IntTools_Context.cxx index 56486b8f77..43b0f1a9b3 100755 --- a/src/IntTools/IntTools_Context.cxx +++ b/src/IntTools/IntTools_Context.cxx @@ -147,7 +147,7 @@ Geom2dHatch_Hatcher& IntTools_Context::Hatcher(const TopoDS_Face& aF) anAdr=myHatcherMap.FindFromKey1(aF); if (!anAdr) { Standard_Real aTolArcIntr, aTolTangfIntr, aTolHatch2D, aTolHatch3D; - Standard_Real aUMin, aUMax, aVMin, aVMax, aU1, aU2, aEpsT; + Standard_Real aU1, aU2, aEpsT; TopAbs_Orientation aOrE; Handle(Geom_Surface) aS; Handle(Geom2d_Curve) aC2D; @@ -170,8 +170,7 @@ Geom2dHatch_Hatcher& IntTools_Context::Hatcher(const TopoDS_Face& aF) aFF=aF; aFF.Orientation(TopAbs_FORWARD); aS=BRep_Tool::Surface(aFF); - //BRepTools::UVBounds(aFF, aUMin, aUMax, aVMin, aVMax); - // + aExp.Init (aFF, TopAbs_EDGE); for (; aExp.More() ; aExp.Next()) { const TopoDS_Edge& aE=*((TopoDS_Edge*)&aExp.Current());