1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +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:
omy
2013-08-02 09:54:03 +04:00
committed by bugmaster
parent 7ff8f0197e
commit 4e18e72a22
59 changed files with 80 additions and 3093 deletions

View File

@@ -91,30 +91,6 @@
#include <ChFiKPart_ComputeData_Rotule.hxx>
#include <ChFiKPart_ComputeData_Sphere.hxx>
//=======================================================================
//function : ComputeAbscissa
//purpose :
//=======================================================================
// Unused :
#ifdef DEB
static Standard_Real ComputeAbscissa(const BRepAdaptor_Curve& C,
const Standard_Real UFirst)
{
Standard_Real fp = fp = C.FirstParameter();
switch (C.GetType()) {
case GeomAbs_Line:
return UFirst - fp;
case GeomAbs_Circle:
return C.Circle().Radius()*(UFirst-fp);
default:
break;
}
Standard_NotImplemented::Raise("calcul abscisse not processed");
return 0.;
}
#endif
//=======================================================================
//function : Compute
//purpose :