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:
parent
fb20c14374
commit
b9736bcc8e
@ -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)
|
Standard_Integer xclassify (Draw_Interpretor& aDI, Standard_Integer n, const char** a)
|
||||||
{
|
{
|
||||||
char sbf[512];
|
|
||||||
|
|
||||||
if (n < 2) {
|
if (n < 2) {
|
||||||
aDI<<" use xclassify Solid [Tolerance=1.e-7]\n";
|
aDI<<" use xclassify Solid [Tolerance=1.e-7]\n";
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -1221,7 +1221,7 @@ Standard_Integer CheckCoincidence(const Standard_Real aT11,
|
|||||||
GeomAPI_ProjectPointOnCurve& aProjector)
|
GeomAPI_ProjectPointOnCurve& aProjector)
|
||||||
{
|
{
|
||||||
Standard_Integer iErr, aNb1, i, aNbX;
|
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;
|
Standard_Real aT1A, aT1B, aD1max,aT1max;
|
||||||
//
|
//
|
||||||
iErr=0; // the patches are coincided
|
iErr=0; // the patches are coincided
|
||||||
|
@ -147,7 +147,7 @@ Geom2dHatch_Hatcher& IntTools_Context::Hatcher(const TopoDS_Face& aF)
|
|||||||
anAdr=myHatcherMap.FindFromKey1(aF);
|
anAdr=myHatcherMap.FindFromKey1(aF);
|
||||||
if (!anAdr) {
|
if (!anAdr) {
|
||||||
Standard_Real aTolArcIntr, aTolTangfIntr, aTolHatch2D, aTolHatch3D;
|
Standard_Real aTolArcIntr, aTolTangfIntr, aTolHatch2D, aTolHatch3D;
|
||||||
Standard_Real aUMin, aUMax, aVMin, aVMax, aU1, aU2, aEpsT;
|
Standard_Real aU1, aU2, aEpsT;
|
||||||
TopAbs_Orientation aOrE;
|
TopAbs_Orientation aOrE;
|
||||||
Handle(Geom_Surface) aS;
|
Handle(Geom_Surface) aS;
|
||||||
Handle(Geom2d_Curve) aC2D;
|
Handle(Geom2d_Curve) aC2D;
|
||||||
@ -170,8 +170,7 @@ Geom2dHatch_Hatcher& IntTools_Context::Hatcher(const TopoDS_Face& aF)
|
|||||||
aFF=aF;
|
aFF=aF;
|
||||||
aFF.Orientation(TopAbs_FORWARD);
|
aFF.Orientation(TopAbs_FORWARD);
|
||||||
aS=BRep_Tool::Surface(aFF);
|
aS=BRep_Tool::Surface(aFF);
|
||||||
//BRepTools::UVBounds(aFF, aUMin, aUMax, aVMin, aVMax);
|
|
||||||
//
|
|
||||||
aExp.Init (aFF, TopAbs_EDGE);
|
aExp.Init (aFF, TopAbs_EDGE);
|
||||||
for (; aExp.More() ; aExp.Next()) {
|
for (; aExp.More() ; aExp.Next()) {
|
||||||
const TopoDS_Edge& aE=*((TopoDS_Edge*)&aExp.Current());
|
const TopoDS_Edge& aE=*((TopoDS_Edge*)&aExp.Current());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user