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:
@@ -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 :
|
||||
|
Reference in New Issue
Block a user