1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024162: Eliminate CLang compiler warning

Got rid from most cases of appearance '-Wunused-private-field' warning
This commit is contained in:
omy
2013-09-11 15:49:07 +04:00
committed by abv
parent eafb234bf1
commit 258ff83bb6
77 changed files with 151 additions and 334 deletions

View File

@@ -87,7 +87,6 @@ is
fields
myNbElements : Integer;
myDimension : Integer;
myTolerance : Real;
myBase : Base from PLib;
myKnots : HArray1OfReal;
myDegree : Array1OfInteger;

View File

@@ -33,11 +33,10 @@
//purpose :
//=======================================================================
FEmTool_Curve::FEmTool_Curve(const Standard_Integer Dimension,
const Standard_Integer NbElements,
const Handle(PLib_Base)& TheBase,
const Standard_Real Tolerance) :
const Standard_Integer NbElements,
const Handle(PLib_Base)& TheBase,
const Standard_Real) :
myNbElements(NbElements), myDimension(Dimension),
myTolerance(Tolerance),
myBase(TheBase), myDegree(1, myNbElements),
myCoeff(1, myDimension*myNbElements*(myBase->WorkDegree() + 1)),
myPoly(1, myDimension*myNbElements*(myBase->WorkDegree() + 1)),