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

@@ -16,8 +16,6 @@
// purpose or non-infringement. Please see the License for the specific terms
// and conditions governing the rights and limitations under the License.
#include <TDataXtd_Axis.ixx>
#include <TDataStd.hxx>
#include <TDataXtd.hxx>
@@ -139,14 +137,14 @@ Handle(TDF_Attribute) TDataXtd_Axis::NewEmpty () const
//purpose :
//=======================================================================
void TDataXtd_Axis::Restore (const Handle(TDF_Attribute)& With) { }
void TDataXtd_Axis::Restore (const Handle(TDF_Attribute)&) { }
//=======================================================================
//function : Paste
//purpose :
//=======================================================================
void TDataXtd_Axis::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { }
void TDataXtd_Axis::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const { }
//=======================================================================

View File

@@ -501,7 +501,7 @@ void TDataXtd_Geometry::Restore (const Handle(TDF_Attribute)& With)
//purpose :
//=======================================================================
void TDataXtd_Geometry::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const {
void TDataXtd_Geometry::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)&) const {
Handle(TDataXtd_Geometry)::DownCast(Into)->SetType(myType);
}

View File

@@ -81,7 +81,7 @@ Handle(TDF_Attribute) TDataXtd_Placement::NewEmpty() const
//purpose :
//=======================================================================
void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)& other)
void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)&)
{
}
@@ -91,14 +91,12 @@ void TDataXtd_Placement::Restore (const Handle(TDF_Attribute)& other)
//purpose :
//=======================================================================
void TDataXtd_Placement::Paste(const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)& RT) const
void TDataXtd_Placement::Paste(const Handle(TDF_Attribute)&,
const Handle(TDF_RelocationTable)&) const
{
}
//=======================================================================
//function : Dump
//purpose :

View File

@@ -136,14 +136,14 @@ Handle(TDF_Attribute) TDataXtd_Plane::NewEmpty () const
//purpose :
//=======================================================================
void TDataXtd_Plane::Restore(const Handle(TDF_Attribute)& With) {}
void TDataXtd_Plane::Restore(const Handle(TDF_Attribute)&) {}
//=======================================================================
//function : Paste
//purpose :
//=======================================================================
void TDataXtd_Plane::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { }
void TDataXtd_Plane::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const { }
//=======================================================================

View File

@@ -121,22 +121,23 @@ Handle(TDF_Attribute) TDataXtd_Point::NewEmpty () const
return new TDataXtd_Point();
}
//=======================================================================
//function : Restore
//purpose :
//=======================================================================
void TDataXtd_Point::Restore(const Handle(TDF_Attribute)& With) { }
void TDataXtd_Point::Restore(const Handle(TDF_Attribute)&)
{
}
//=======================================================================
//function : Paste
//purpose :
//=======================================================================
void TDataXtd_Point::Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const { }
void TDataXtd_Point::Paste (const Handle(TDF_Attribute)&, const Handle(TDF_RelocationTable)&) const
{
}
//=======================================================================
//function : Dump

View File

@@ -161,7 +161,7 @@ Handle(TDF_Attribute) TDataXtd_Shape::NewEmpty () const
//purpose :
//=======================================================================
void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& with)
void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& )
{
}
@@ -170,8 +170,8 @@ void TDataXtd_Shape::Restore(const Handle(TDF_Attribute)& with)
//purpose :
//=======================================================================
void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)& into,
const Handle(TDF_RelocationTable)& RT) const
void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)&,
const Handle(TDF_RelocationTable)&) const
{
}
@@ -180,7 +180,7 @@ void TDataXtd_Shape::Paste (const Handle(TDF_Attribute)& into,
//purpose :
//=======================================================================
void TDataXtd_Shape::References (const Handle(TDF_DataSet)& DS) const
void TDataXtd_Shape::References (const Handle(TDF_DataSet)&) const
{
}