1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +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

@@ -329,7 +329,6 @@ fields
myG1Error : Real from Standard;
myG2Error : Real from Standard;
myNbPtsOnCur : Integer from Standard;
mySurfInitIsPlane : Boolean from Standard;
mySurfInitIsGive : Boolean from Standard;
myNbIter : Integer from Standard;
myProj : ExtPS from Extrema;
@@ -338,7 +337,6 @@ fields
myTol2d : Real from Standard;
myTol3d : Real from Standard;
myTolAng : Real from Standard;
myTolCurv : Real from Standard;
myTolU : Real from Standard;
myTolV : Real from Standard;

View File

@@ -121,7 +121,7 @@ GeomPlate_BuildPlateSurface::GeomPlate_BuildPlateSurface (
const Standard_Real Tol2d,
const Standard_Real Tol3d,
const Standard_Real TolAng,
const Standard_Real TolCurv,
const Standard_Real ,
const Standard_Boolean Anisotropie
) :
myAnisotropie(Anisotropie),
@@ -131,7 +131,6 @@ myProj(),
myTol2d(Tol2d),
myTol3d(Tol3d),
myTolAng(TolAng),
myTolCurv(TolCurv),
myNbBounds(0)
{ Standard_Integer NTCurve=TabCurve->Length();// Nombre de contraintes lineaires
myNbPtsOnCur = 0; // Debrayage du calcul du nombre de points
@@ -190,7 +189,6 @@ myProj(),
myTol2d(Tol2d),
myTol3d(Tol3d),
myTolAng(TolAng),
myTolCurv(TolCurv),
myNbBounds(0)
{ if (myNbIter<1)
Standard_ConstructionError::Raise("GeomPlate : Number of iteration must be >= 1");
@@ -225,7 +223,6 @@ myProj(),
myTol2d(Tol2d),
myTol3d(Tol3d),
myTolAng(TolAng),
myTolCurv(TolCurv),
myNbBounds(0)
{ if (myNbIter<1)
Standard_ConstructionError::Raise("GeomPlate : Number of iteration must be >= 1");