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

@@ -203,8 +203,8 @@ void TDF_Attribute::AfterResume()
//=======================================================================
Standard_Boolean TDF_Attribute::BeforeUndo
(const Handle(TDF_AttributeDelta)& anAttDelta,
const Standard_Boolean forceIt)
(const Handle(TDF_AttributeDelta)& /*anAttDelta*/,
const Standard_Boolean /*forceIt*/)
{ return Standard_True; }
@@ -214,8 +214,8 @@ Standard_Boolean TDF_Attribute::BeforeUndo
//=======================================================================
Standard_Boolean TDF_Attribute::AfterUndo
(const Handle(TDF_AttributeDelta)& anAttDelta,
const Standard_Boolean forceIt)
(const Handle(TDF_AttributeDelta)& /*anAttDelta*/,
const Standard_Boolean /*forceIt*/)
{ return Standard_True; }
@@ -225,7 +225,7 @@ Standard_Boolean TDF_Attribute::AfterUndo
//=======================================================================
Standard_Boolean TDF_Attribute::AfterRetrieval
(const Standard_Boolean forceIt)
(const Standard_Boolean /*forceIt*/)
{ return Standard_True; }
#ifdef BUC60879
@@ -403,7 +403,7 @@ Standard_OStream& TDF_Attribute::Dump(Standard_OStream& anOS) const
void TDF_Attribute::ExtendedDump
(Standard_OStream& anOS,
const TDF_IDFilter& aFilter,
TDF_AttributeIndexedMap& aMap) const
const TDF_IDFilter& /*aFilter*/,
TDF_AttributeIndexedMap& /*aMap*/) const
{ Dump(anOS); }

View File

@@ -50,7 +50,7 @@ myIgnore(ignoreMode)
// the copy constructor.
//=======================================================================
TDF_IDFilter::TDF_IDFilter(const TDF_IDFilter& aFilter)
TDF_IDFilter::TDF_IDFilter(const TDF_IDFilter& /*aFilter*/)
{}

View File

@@ -162,9 +162,8 @@ void TDF_TagSource::Restore(const Handle(TDF_Attribute)& With)
//purpose :
//=======================================================================
void TDF_TagSource::Paste (
const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)& RT) const
void TDF_TagSource::Paste (const Handle(TDF_Attribute)& Into,
const Handle(TDF_RelocationTable)&) const
{
Handle(TDF_TagSource)::DownCast(Into)->Set (myTag);
}

View File

@@ -52,7 +52,7 @@ TDF_Transaction::TDF_Transaction
//purpose : Private copy constructor.
//=======================================================================
TDF_Transaction::TDF_Transaction(const TDF_Transaction& aTrans)
TDF_Transaction::TDF_Transaction(const TDF_Transaction& /*aTrans*/)
{}