1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024236: Eliminate GCC compiler warning (uninitialized variables)

This commit is contained in:
ski
2013-10-10 14:47:21 +04:00
committed by bugmaster
parent 012d92b631
commit d20d815bbe
16 changed files with 18 additions and 17 deletions

View File

@@ -1351,7 +1351,7 @@ Handle(Geom_Curve) ShapeConstruct_ProjectCurveOnSurface::InterpolateCurve3d(cons
gp_Pnt pt;
Standard_Integer mpt[2]; mpt[0] = mpt[1] = 0;
Standard_Real t, tpar[2], isoValue=0.;
Standard_Real t, tpar[2] = { 0.0, 0.0 }, isoValue=0.;
Standard_Real mindist2;
Standard_Real mind2[2];
mindist2 = mind2[0] = mind2[1] = 4*prec*prec;