1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0023480: New compiler warnings on MS VC 9

Unused local variables eliminated
This commit is contained in:
abv 2012-10-22 07:08:44 +04:00
parent fb20c14374
commit b9736bcc8e
3 changed files with 3 additions and 6 deletions

View File

@ -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;

View File

@ -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

View File

@ -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());