1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0022922: Clean up warnings on uninitialized / unused variables

This commit is contained in:
dbv@opencascade.com
2012-03-07 17:00:48 +04:00
committed by bugmaster
parent 25289ec1e1
commit 6e6cd5d949
226 changed files with 151 additions and 1471 deletions

View File

@@ -2353,11 +2353,6 @@ VerifSurface(const Standard_Integer NbBoucle)
new TColStd_HArray1OfReal(1,NbPts_i-1);
Handle(TColStd_HArray1OfReal) tcourb =
new TColStd_HArray1OfReal(1,NbPts_i-1);
#ifdef DEB
Standard_Integer Cont_i=myLinCont->Value(i)->Order();
#else
myLinCont->Value(i)->Order();
#endif
EcartContraintesMil (i,tdist,tang,tcourb);

View File

@@ -71,10 +71,6 @@ void GeomPlate_PlateG0Criterion::Value(AdvApp2Var_Patch& P,
TColStd_Array1OfReal Curve(1, dimension);
TColStd_Array1OfReal Point(1, 3);
Standard_Real * Coeffs = (Standard_Real *) &Patch.ChangeValue(1);
#ifdef DEB
Standard_Real * Result =
#endif
(Standard_Real *) &Curve.ChangeValue(1);
Standard_Real * Digit = (Standard_Real *) &Point.ChangeValue(1);
Standard_Integer k1, k2, pos, ll=1;

View File

@@ -68,11 +68,6 @@ void GeomPlate_PlateG1Criterion::Value(AdvApp2Var_Patch& P,
TColStd_Array1OfReal Curve(1, 2*dimension);
TColStd_Array1OfReal Point(1, 3);
Standard_Real * Coeffs = (Standard_Real *) &Patch.ChangeValue(1);
#ifdef DEB
Standard_Real * Result = (Standard_Real *) &Curve.ChangeValue(1);
#else
Curve.ChangeValue(1);
#endif
Standard_Real * Digit = (Standard_Real *) &Point.ChangeValue(1);
Standard_Integer k1, k2, pos, ll=1;