1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4

Got rid of warning C4100: 'identifier' : unreferenced formal parameter
Got rid of compile errors
This commit is contained in:
omy
2013-07-18 13:09:32 +04:00
parent 92a4955951
commit 35e08fe886
351 changed files with 1092 additions and 991 deletions

View File

@@ -1453,7 +1453,7 @@ void BRepMesh_Delaun::AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices
//function : UseEdge
//purpose : Modify mesh to use the edge. Return True if done
//=======================================================================
Standard_Boolean BRepMesh_Delaun::UseEdge( const Standard_Integer theIndex )
Standard_Boolean BRepMesh_Delaun::UseEdge( const Standard_Integer /*theIndex*/ )
{
/*
const BRepMesh_PairOfIndex& aPair = myMeshData->ElemConnectedTo( theIndex );

View File

@@ -107,7 +107,7 @@ public:
}
//! Set current node to be checked
void SetCurrent (const gp_XY& theCurVertex, const Standard_Boolean theExactVal = Standard_False)
void SetCurrent (const gp_XY& theCurVertex, const Standard_Boolean)
{
myResInd.Clear();
myCurrent = theCurVertex;

View File

@@ -169,7 +169,7 @@ const BRepMesh_ListOfInteger& BRepMesh_VertexTool::GetListOfDelNodes() const
//=======================================================================
Standard_Integer BRepMesh_VertexTool::FindIndex(const BRepMesh_Vertex& theVertex)
{
mySelector.SetCurrent(theVertex.Coord(), Standard_False);
mySelector.SetCurrent(theVertex.Coord(),Standard_False);
myCellFilter.Inspect (theVertex.Coord(), mySelector);
return mySelector.GetCoincidentInd();
}