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:
@@ -28,8 +28,8 @@ IFSelect_ModifEditForm::IFSelect_ModifEditForm
|
||||
void IFSelect_ModifEditForm::Perform
|
||||
(IFSelect_ContextModif& ctx,
|
||||
const Handle(Interface_InterfaceModel)& target,
|
||||
const Handle(Interface_Protocol)& protocol,
|
||||
Interface_CopyTool& TC) const
|
||||
const Handle(Interface_Protocol)& /*protocol*/,
|
||||
Interface_CopyTool& /*TC*/) const
|
||||
{
|
||||
for (ctx.Start(); ctx.More(); ctx.Next()) {
|
||||
Standard_Boolean done = theedit->ApplyData(ctx.ValueResult(),target);
|
||||
|
@@ -22,9 +22,10 @@
|
||||
IFSelect_ModifReorder::IFSelect_ModifReorder (const Standard_Boolean rootlast)
|
||||
: IFSelect_Modifier (Standard_True) { thertl = rootlast; }
|
||||
|
||||
void IFSelect_ModifReorder::Perform
|
||||
(IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target,
|
||||
const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const
|
||||
void IFSelect_ModifReorder::Perform (IFSelect_ContextModif& ctx,
|
||||
const Handle(Interface_InterfaceModel)& target,
|
||||
const Handle(Interface_Protocol)& /*protocol*/,
|
||||
Interface_CopyTool& /*TC*/) const
|
||||
{
|
||||
Interface_ShareTool sht (ctx.OriginalGraph());
|
||||
Interface_EntityIterator list = sht.All (ctx.OriginalModel(),thertl);
|
||||
|
@@ -50,18 +50,18 @@ TCollection_AsciiString IFSelect_ParamEditor::Label () const
|
||||
{ return thelabel; }
|
||||
|
||||
Standard_Boolean IFSelect_ParamEditor::Recognize
|
||||
(const Handle(IFSelect_EditForm)& form) const
|
||||
(const Handle(IFSelect_EditForm)& /*form*/) const
|
||||
{ return Standard_True; } // pas de contrainte
|
||||
|
||||
Handle(TCollection_HAsciiString) IFSelect_ParamEditor::StringValue
|
||||
(const Handle(IFSelect_EditForm)& form,const Standard_Integer num) const
|
||||
(const Handle(IFSelect_EditForm)& /*form*/,const Standard_Integer num) const
|
||||
{ return TypedValue(num)->HStringValue(); }
|
||||
|
||||
|
||||
Standard_Boolean IFSelect_ParamEditor::Load
|
||||
(const Handle(IFSelect_EditForm)& form,
|
||||
const Handle(Standard_Transient)& ent,
|
||||
const Handle(Interface_InterfaceModel)& model) const
|
||||
const Handle(Standard_Transient)& /*ent*/,
|
||||
const Handle(Interface_InterfaceModel)& /*model*/) const
|
||||
{
|
||||
Standard_Integer i, nb = NbValues();
|
||||
for (i = 1; i <= nb; i ++) form->LoadValue (i,TypedValue(i)->HStringValue());
|
||||
@@ -72,8 +72,8 @@ Standard_Boolean IFSelect_ParamEditor::Load
|
||||
|
||||
Standard_Boolean IFSelect_ParamEditor::Apply
|
||||
(const Handle(IFSelect_EditForm)& form,
|
||||
const Handle(Standard_Transient)& ent,
|
||||
const Handle(Interface_InterfaceModel)& model) const
|
||||
const Handle(Standard_Transient)& /*ent*/,
|
||||
const Handle(Interface_InterfaceModel)& /*model*/) const
|
||||
{
|
||||
Standard_Integer i, nb = NbValues();
|
||||
for (i = 1; i <= nb; i ++)
|
||||
|
@@ -144,8 +144,8 @@ static Standard_Integer multsign
|
||||
}
|
||||
|
||||
Standard_Boolean IFSelect_SelectSignature::Sort
|
||||
(const Standard_Integer , const Handle(Standard_Transient)& ent,
|
||||
const Handle(Interface_InterfaceModel)& model) const
|
||||
(const Standard_Integer , const Handle(Standard_Transient)& /*ent*/,
|
||||
const Handle(Interface_InterfaceModel)& /*model*/) const
|
||||
{ return Standard_True; }
|
||||
|
||||
const TCollection_AsciiString& IFSelect_SelectSignature::SignatureText () const
|
||||
|
@@ -28,9 +28,9 @@ IFSelect_SignAncestor::IFSelect_SignAncestor (const Standard_Boolean nopk)
|
||||
: IFSelect_SignType (nopk) { }
|
||||
|
||||
Standard_Boolean IFSelect_SignAncestor::Matches(const Handle(Standard_Transient)& ent,
|
||||
const Handle(Interface_InterfaceModel)& model,
|
||||
const Handle(Interface_InterfaceModel)& /*model*/,
|
||||
const TCollection_AsciiString& text,
|
||||
const Standard_Boolean exact) const
|
||||
const Standard_Boolean /*exact*/) const
|
||||
{
|
||||
if (ent.IsNull()) return Standard_False;
|
||||
DeclareAndCast(Standard_Type,atype,ent);
|
||||
|
@@ -29,7 +29,7 @@ static Standard_CString nulsign = "";
|
||||
|
||||
Standard_CString IFSelect_SignType::Value
|
||||
(const Handle(Standard_Transient)& ent,
|
||||
const Handle(Interface_InterfaceModel)& model) const
|
||||
const Handle(Interface_InterfaceModel)& /*model*/) const
|
||||
{
|
||||
if (ent.IsNull()) return nulsign;
|
||||
DeclareAndCast(Standard_Type,atype,ent);
|
||||
|
Reference in New Issue
Block a user