1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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

@@ -757,39 +757,6 @@ static Standard_Integer triangle (Draw_Interpretor&, Standard_Integer n, const c
return 0;
}
//=======================================================================
//function : printdegree
//purpose :
//=======================================================================
static void printdegree(BRepMesh_DegreeOfFreedom dof, Draw_Interpretor& di)
{
switch (dof) {
case BRepMesh_InVolume :
di << "InVolume";
break;
case BRepMesh_OnSurface :
di << "OnSurface";
break;
case BRepMesh_OnCurve :
di << "OnCurve";
break;
case BRepMesh_Fixed :
di << "Fixed";
break;
case BRepMesh_Frontier :
di << "Frontier";
break;
case BRepMesh_Deleted :
di << "Deleted";
break;
case BRepMesh_Free :
di << "Free";
break;
}
}
//=======================================================================
//function : dumpvertex
//purpose :

View File

@@ -187,33 +187,6 @@ Handle(Draw_Drawable3D) MeshTest_DrawableMesh::Copy() const
//purpose :
//=======================================================================
static void printdegree(BRepMesh_DegreeOfFreedom dof)
{
switch (dof) {
case BRepMesh_InVolume :
cout << "InVolume";
break;
case BRepMesh_OnSurface :
cout << "OnSurface";
break;
case BRepMesh_OnCurve :
cout << "OnCurve";
break;
case BRepMesh_Fixed :
cout << "Fixed";
break;
case BRepMesh_Frontier :
cout << "Frontier";
break;
case BRepMesh_Deleted :
cout << "Deleted";
break;
case BRepMesh_Free :
cout << "Free";
break;
}
}
void MeshTest_DrawableMesh::Dump(Standard_OStream&) const
{
// Should be reimplemented