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

@@ -137,7 +137,7 @@ Handle(TDF_Attribute) TDataStd_Directory::NewEmpty () const
//purpose :
//=======================================================================
void TDataStd_Directory::Restore(const Handle(TDF_Attribute)& with)
void TDataStd_Directory::Restore(const Handle(TDF_Attribute)&)
{
}
@@ -146,8 +146,8 @@ void TDataStd_Directory::Restore(const Handle(TDF_Attribute)& with)
//purpose :
//=======================================================================
void TDataStd_Directory::Paste (const Handle(TDF_Attribute)& into,
const Handle(TDF_RelocationTable)& RT) const
void TDataStd_Directory::Paste (const Handle(TDF_Attribute)&,
const Handle(TDF_RelocationTable)& ) const
{
}
@@ -156,7 +156,7 @@ void TDataStd_Directory::Paste (const Handle(TDF_Attribute)& into,
//purpose :
//=======================================================================
void TDataStd_Directory::References (const Handle(TDF_DataSet)& DS) const
void TDataStd_Directory::References (const Handle(TDF_DataSet)&) const
{
}

View File

@@ -131,7 +131,7 @@ void TDataStd_Integer::Restore(const Handle(TDF_Attribute)& With)
//=======================================================================
void TDataStd_Integer::Paste (const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)& RT) const
const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TDataStd_Integer)::DownCast(Into)->Set(myValue);
}

View File

@@ -171,7 +171,7 @@ void TDataStd_Real::Restore(const Handle(TDF_Attribute)& With)
//=======================================================================
void TDataStd_Real::Paste (const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)& RT) const
const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TDataStd_Real) R = Handle(TDataStd_Real)::DownCast (Into);
R->Set(myValue);

View File

@@ -144,7 +144,7 @@ const Handle(TDataStd_HLabelArray1)& TDataStd_ReferenceArray::InternalArray () c
//purpose :
//=======================================================================
void TDataStd_ReferenceArray::SetInternalArray (const Handle(TDataStd_HLabelArray1)& values,
const Standard_Boolean isCheckItem)
const Standard_Boolean /*isCheckItem*/)
{
// myArray = values;
Standard_Integer aLower = values->Lower();

View File

@@ -75,7 +75,7 @@ Handle(TDF_Attribute) TDataStd_Tick::NewEmpty() const
//function : Restore
//purpose :
//=======================================================================
void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& other)
void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& )
{
// There are no fields in this attribute.
}
@@ -84,8 +84,8 @@ void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& other)
//function : Paste
//purpose :
//=======================================================================
void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)& RT) const
void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& ,
const Handle(TDF_RelocationTable)& ) const
{
// There are no fields in this attribute.
}

View File

@@ -591,7 +591,7 @@ void TDataStd_TreeNode::AfterResume() {
//=======================================================================
Standard_Boolean TDataStd_TreeNode::BeforeUndo(const Handle(TDF_AttributeDelta)& anAttDelta,
const Standard_Boolean forceIt)
const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnAddition))) BeforeForget(); // Disconnect.
return Standard_True;
@@ -603,7 +603,7 @@ Standard_Boolean TDataStd_TreeNode::BeforeUndo(const Handle(TDF_AttributeDelta)&
//=======================================================================
Standard_Boolean TDataStd_TreeNode::AfterUndo(const Handle(TDF_AttributeDelta)& anAttDelta,
const Standard_Boolean forceIt)
const Standard_Boolean /*forceIt*/)
{
if (anAttDelta->IsKind(STANDARD_TYPE(TDF_DeltaOnRemoval))) AfterAddition(); // Reconnect.
return Standard_True;

View File

@@ -103,7 +103,7 @@ void TDataStd_UAttribute::Restore(const Handle(TDF_Attribute)& with)
//=======================================================================
void TDataStd_UAttribute::Paste (const Handle(TDF_Attribute)& into,
const Handle(TDF_RelocationTable)& RT) const
const Handle(TDF_RelocationTable)& /*RT*/) const
{
Handle(TDataStd_UAttribute) A = Handle(TDataStd_UAttribute)::DownCast(into);
A->SetID( myID );
@@ -114,7 +114,7 @@ void TDataStd_UAttribute::Paste (const Handle(TDF_Attribute)& into,
//purpose :
//=======================================================================
void TDataStd_UAttribute::References (const Handle(TDF_DataSet)& DS) const
void TDataStd_UAttribute::References (const Handle(TDF_DataSet)& /*DS*/) const
{
}