mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40: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:
@@ -184,21 +184,6 @@ static Handle(DrawTrSurf_BSplineSurface) GetBSplineSurface(Standard_CString& Nam
|
||||
return Dr;
|
||||
}
|
||||
|
||||
#ifdef DEB
|
||||
//=======================================================================
|
||||
//function : GetCurve
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
static Handle(DrawTrSurf_Curve) GetCurve(Standard_CString& Name)
|
||||
{
|
||||
Handle(Draw_Drawable3D) D = Draw::Get(Name);
|
||||
Handle(DrawTrSurf_Curve) Dr;
|
||||
if (!D.IsNull())
|
||||
Dr = Handle(DrawTrSurf_Curve)::DownCast(D);
|
||||
return Dr;
|
||||
}
|
||||
#endif
|
||||
|
||||
//=======================================================================
|
||||
//function : GetBezierCurve
|
||||
//purpose :
|
||||
|
Reference in New Issue
Block a user