X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FIntPatch%2FIntPatch_ImpImpIntersection_4.gxx;h=daf260ff61fb94151fa14d2db508a498ee915256;hp=4427763064ef373fe2cb0ed5117ec764bb97f973;hb=eadea5ea0314cfc07e8cbb6efe421ce20330c9fc;hpb=24542bc056f70d9eebfdce9c138ba430cb90b777 diff --git a/src/IntPatch/IntPatch_ImpImpIntersection_4.gxx b/src/IntPatch/IntPatch_ImpImpIntersection_4.gxx index 4427763064..daf260ff61 100644 --- a/src/IntPatch/IntPatch_ImpImpIntersection_4.gxx +++ b/src/IntPatch/IntPatch_ImpImpIntersection_4.gxx @@ -2815,7 +2815,7 @@ IntPatch_ImpImpIntersection::IntStatus IntCyCy(const IntSurf_Quadric& theQuad1, anUexpect[i] = anUf; } - Standard_Real aCriticalDelta[aNbCritPointsMax]; + Standard_Real aCriticalDelta[aNbCritPointsMax] = {0}; for(Standard_Integer aCritPID = 0; aCritPID < aNbCritPoints; aCritPID++) { //We are not interested in elements of aCriticalDelta array //if their index is greater than or equal to aNbCritPoints