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:
@@ -30,21 +30,25 @@ static StepData_EnumTool tool
|
||||
Standard_CString StepVisual_MarkerMember::Name () const
|
||||
{ return "MARKER_TYPE"; }
|
||||
|
||||
Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString name)
|
||||
Standard_Boolean StepVisual_MarkerMember::SetName (const Standard_CString /*name*/)
|
||||
{ return Standard_True; }
|
||||
|
||||
Standard_CString StepVisual_MarkerMember::EnumText () const
|
||||
{ return tool.Text(Int()).ToCString(); }
|
||||
|
||||
void StepVisual_MarkerMember::SetEnumText
|
||||
(const Standard_Integer val, const Standard_CString text)
|
||||
void StepVisual_MarkerMember::SetEnumText (const Standard_Integer /*val*/,
|
||||
const Standard_CString text)
|
||||
{
|
||||
Standard_Integer vl = tool.Value (text);
|
||||
if (vl >= 0) SetInt (vl);
|
||||
Standard_Integer vl = tool.Value (text);
|
||||
if (vl >= 0) SetInt (vl);
|
||||
}
|
||||
|
||||
void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val)
|
||||
{ SetInt ( Standard_Integer (val) ); }
|
||||
void StepVisual_MarkerMember::SetValue (const StepVisual_MarkerType val)
|
||||
{
|
||||
SetInt ( Standard_Integer (val) );
|
||||
}
|
||||
|
||||
StepVisual_MarkerType StepVisual_MarkerMember::Value () const
|
||||
{ return StepVisual_MarkerType (Int()); }
|
||||
StepVisual_MarkerType StepVisual_MarkerMember::Value () const
|
||||
{
|
||||
return StepVisual_MarkerType (Int());
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
StepVisual_MarkerSelect::StepVisual_MarkerSelect () { }
|
||||
|
||||
Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& ent) const
|
||||
Standard_Integer StepVisual_MarkerSelect::CaseNum(const Handle(Standard_Transient)& /*ent*/) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user