1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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

@@ -831,8 +831,7 @@ static void ComputeDeviation(const Handle(Geom_Curve)& theCurve,
theUfMax = 0.;
theUlMax = 0.;
theImax = 0;
Standard_Real dmax = 0., ufmax = 0., ulmax = 0.;
Standard_Integer imax = 0;
Standard_Real ufmax = 0., ulmax = 0.;
//take knots
Standard_Integer nbp = thePnts->NbKnots();
@@ -1234,7 +1233,7 @@ static Standard_Integer mypoints (Draw_Interpretor& di, Standard_Integer /*n*/,
Draw::Set(a[1], aDrCrv);
Standard_Real dmax = 0., ufmax = 0., ulmax = 0., uf, ul;
Standard_Real dmax = 0., ufmax = 0., ulmax = 0.;
Standard_Integer imax = 0;
ComputeDeviation(C,aPnts,dmax,ufmax,ulmax,imax);