mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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:
@@ -78,14 +78,14 @@ DNaming_BooleanOperationDriver::DNaming_BooleanOperationDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <log>.
|
||||
//=======================================================================
|
||||
void DNaming_BooleanOperationDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_BooleanOperationDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <log> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_BooleanOperationDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_BooleanOperationDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -46,14 +46,14 @@ DNaming_BoxDriver::DNaming_BoxDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <log>.
|
||||
//=======================================================================
|
||||
void DNaming_BoxDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_BoxDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <log> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_BoxDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_BoxDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -56,14 +56,14 @@ DNaming_CylinderDriver::DNaming_CylinderDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <log>.
|
||||
//=======================================================================
|
||||
void DNaming_CylinderDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_CylinderDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <log> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_CylinderDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_CylinderDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -56,14 +56,14 @@ DNaming_FilletDriver::DNaming_FilletDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <log>.
|
||||
//=======================================================================
|
||||
void DNaming_FilletDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_FilletDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <log> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_FilletDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_FilletDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -92,14 +92,14 @@ DNaming_Line3DDriver::DNaming_Line3DDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <theLog>.
|
||||
//=======================================================================
|
||||
void DNaming_Line3DDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_Line3DDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <theLog> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_Line3DDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_Line3DDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -206,7 +206,7 @@ else if(name == "Line3D")
|
||||
//function : DNaming_AddDriver
|
||||
//purpose : "AddDriver Doc Name1 Name2 ..."
|
||||
//=======================================================================
|
||||
static Standard_Integer DNaming_AddDriver (Draw_Interpretor& theDI,
|
||||
static Standard_Integer DNaming_AddDriver (Draw_Interpretor& /*theDI*/,
|
||||
Standard_Integer theNb,
|
||||
const char** theArg)
|
||||
{
|
||||
@@ -487,7 +487,7 @@ static Standard_Integer ComputeFunction(const Handle(TFunction_Function)& theFun
|
||||
// : "SolveFlatFrom Doc FistAuxObjLabel"
|
||||
//=======================================================================
|
||||
|
||||
static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& theDI,
|
||||
static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& /*theDI*/,
|
||||
Standard_Integer theNb,
|
||||
const char** theArg)
|
||||
{
|
||||
@@ -549,7 +549,7 @@ static Standard_Integer DNaming_SolveFlatFrom (Draw_Interpretor& theDI,
|
||||
//function : DNaming_InitLogBook
|
||||
//purpose : "InitLogBook Doc "
|
||||
//=======================================================================
|
||||
static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& theDI,
|
||||
static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& /*theDI*/,
|
||||
Standard_Integer theNb,
|
||||
const char** theArg)
|
||||
{
|
||||
@@ -578,7 +578,7 @@ static Standard_Integer DNaming_InitLogBook (Draw_Interpretor& theDI,
|
||||
//function : DNaming_CheckLogBook
|
||||
//purpose : "CheckLogBook Doc"
|
||||
//=======================================================================
|
||||
static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& theDI,
|
||||
static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& /*theDI*/,
|
||||
Standard_Integer theNb,
|
||||
const char** theArg)
|
||||
{
|
||||
@@ -609,7 +609,7 @@ static Standard_Integer DNaming_CheckLogBook (Draw_Interpretor& theDI,
|
||||
//function : DNaming_ComputeFun
|
||||
//purpose : "ComputeFun Doc FunctionLabel"
|
||||
//=======================================================================
|
||||
static Standard_Integer DNaming_ComputeFun (Draw_Interpretor& theDI,
|
||||
static Standard_Integer DNaming_ComputeFun (Draw_Interpretor& /*theDI*/,
|
||||
Standard_Integer theNb,
|
||||
const char** theArg)
|
||||
{
|
||||
|
@@ -52,14 +52,14 @@ DNaming_PointDriver::DNaming_PointDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <log>.
|
||||
//=======================================================================
|
||||
void DNaming_PointDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_PointDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <log> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_PointDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_PointDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -75,14 +75,14 @@ DNaming_PrismDriver::DNaming_PrismDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <theLog>.
|
||||
//=======================================================================
|
||||
void DNaming_PrismDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_PrismDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyses in <theLog> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_PrismDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_PrismDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -80,14 +80,14 @@ DNaming_RevolutionDriver::DNaming_RevolutionDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <theLog>.
|
||||
//=======================================================================
|
||||
void DNaming_RevolutionDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_RevolutionDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyses in <theLog> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_RevolutionDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_RevolutionDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
@@ -61,14 +61,14 @@ DNaming_SphereDriver::DNaming_SphereDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <theLog>
|
||||
//=======================================================================
|
||||
void DNaming_SphereDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_SphereDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyses in <theLog> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_SphereDriver::MustExecute(const TFunction_Logbook& theLog) const {
|
||||
Standard_Boolean DNaming_SphereDriver::MustExecute(const TFunction_Logbook&) const {
|
||||
return Standard_True;
|
||||
}
|
||||
|
||||
|
@@ -87,14 +87,14 @@ DNaming_TransformationDriver::DNaming_TransformationDriver()
|
||||
//function : Validate
|
||||
//purpose : Validates labels of a function in <log>.
|
||||
//=======================================================================
|
||||
void DNaming_TransformationDriver::Validate(TFunction_Logbook& theLog) const
|
||||
void DNaming_TransformationDriver::Validate(TFunction_Logbook&) const
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : MustExecute
|
||||
//purpose : Analyse in <log> if the loaded function must be executed
|
||||
//=======================================================================
|
||||
Standard_Boolean DNaming_TransformationDriver::MustExecute(const TFunction_Logbook& theLog) const
|
||||
Standard_Boolean DNaming_TransformationDriver::MustExecute(const TFunction_Logbook&) const
|
||||
{
|
||||
return Standard_True;
|
||||
}
|
||||
|
Reference in New Issue
Block a user