mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4
Removed obsolete functions from sources. Some useful debug functions were 'defined' ( put into #ifdef ...#endif ) Removed some redundant code
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
static Standard_Integer IndexOfSection = 0;
|
||||
extern Standard_Boolean Blend_GettraceDRAWSECT();
|
||||
|
||||
#ifdef DEB_BBPP_N_TRDERIV
|
||||
//-----------------------------------------------------
|
||||
// For debug : visualisation of the section
|
||||
static Standard_Boolean BBPP(const Standard_Real param,
|
||||
@@ -118,7 +119,7 @@ static void tracederiv(Blend_RstRstFunction& Func,
|
||||
cout<<"dy estimated : "<<scal*(TP2d1(i).Y()-TP2d2(i).Y())<<endl;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------
|
||||
static void Drawsect(const Standard_Real param,
|
||||
@@ -580,7 +581,7 @@ void BRepBlend_RstRstLineBuilder::InternalPerform(Blend_RstRstFunction& Func,
|
||||
|
||||
while (!Arrive) {
|
||||
Standard_Boolean bonpoint = 1;
|
||||
#if 0
|
||||
#ifdef DEB_BBPP_N_TRDERIV
|
||||
//debdebdebdebdebdeb
|
||||
Func.Set(param);
|
||||
rsnld.Perform(Func, parinit, infbound, supbound);
|
||||
|
@@ -44,6 +44,7 @@
|
||||
#endif
|
||||
static Standard_Integer IndexOfSection = 0;
|
||||
extern Standard_Boolean Blend_GettraceDRAWSECT();
|
||||
#ifdef DEB_BBPP_N_TRDERIV
|
||||
// for debug : visualisation of the section
|
||||
static Standard_Boolean BBPP(const Standard_Real param,
|
||||
Blend_SurfRstFunction& Func,
|
||||
@@ -112,7 +113,7 @@ static void tracederiv(Blend_SurfRstFunction& Func,
|
||||
cout<<"dy estimated : "<<scal*(TP2d1(i).Y()-TP2d2(i).Y())<<endl;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
static void Drawsect(const Standard_Real param,
|
||||
Blend_SurfRstFunction& Func)
|
||||
{
|
||||
@@ -542,7 +543,7 @@ void BRepBlend_SurfRstLineBuilder::InternalPerform(Blend_SurfRstFunction& Func,
|
||||
|
||||
while (!Arrive) {
|
||||
Standard_Boolean bonpoint = 1;
|
||||
#if 0
|
||||
#ifdef DEB_BBPP_N_TRDERIV
|
||||
//debdebdebdebdebdeb
|
||||
Func.Set(param);
|
||||
rsnld.Perform(Func,parinit,infbound,supbound);
|
||||
|
Reference in New Issue
Block a user