mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026852: Coding - compiler warnings issued by GCC 5.2.1
Compiler warnings eliminated: - BRepAlgo_DSAccess: avoid copying of local list - IntPatch, IntTools: initialize "possibly used uninitialized" variables by zeros - Intf: slight refactoring - OSD_signal: suppress unused argument - OpenGL: add missing initializers in structures - STEPConstruct_GDTProperty: correct function signature to pass output parameters by reference
This commit is contained in:
@@ -166,9 +166,9 @@ void STEPConstruct_GDTProperty::GetDimModifiers(const Handle(StepRepr_CompoundRe
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void STEPConstruct_GDTProperty::GetDimClassOfTolerance(const Handle(StepShape_LimitsAndFits)& theLAF,
|
||||
Standard_Boolean theHolle,
|
||||
XCAFDimTolObjects_DimensionFormVariance theFV,
|
||||
XCAFDimTolObjects_DimensionGrade theG)
|
||||
Standard_Boolean& theHolle,
|
||||
XCAFDimTolObjects_DimensionFormVariance& theFV,
|
||||
XCAFDimTolObjects_DimensionGrade& theG)
|
||||
{
|
||||
Handle(TCollection_HAsciiString) aFormV = theLAF->FormVariance();
|
||||
Handle(TCollection_HAsciiString) aGrade = theLAF->Grade();
|
||||
@@ -597,4 +597,4 @@ Standard_Boolean STEPConstruct_GDTProperty::GetTolValueType(const Handle(TCollec
|
||||
return Standard_True;
|
||||
}
|
||||
return Standard_False;
|
||||
}
|
||||
}
|
||||
|
@@ -47,9 +47,9 @@ public:
|
||||
XCAFDimTolObjects_DimensionModifiersSequence& theModifiers);
|
||||
|
||||
Standard_EXPORT static void GetDimClassOfTolerance(const Handle(StepShape_LimitsAndFits)& theLAF,
|
||||
Standard_Boolean theHolle,
|
||||
XCAFDimTolObjects_DimensionFormVariance theFV,
|
||||
XCAFDimTolObjects_DimensionGrade theG);
|
||||
Standard_Boolean& theHolle,
|
||||
XCAFDimTolObjects_DimensionFormVariance& theFV,
|
||||
XCAFDimTolObjects_DimensionGrade& theG);
|
||||
|
||||
Standard_EXPORT static Standard_Boolean GetDimType(const Handle(TCollection_HAsciiString)& theName,
|
||||
XCAFDimTolObjects_DimensionType& theType);
|
||||
|
Reference in New Issue
Block a user