From: abv Date: Tue, 12 Jun 2018 19:18:34 +0000 (+0300) Subject: 0029859: Coding - GCC compiler warning -Warray-bounds in IntPatch_InterferencePolyhed... X-Git-Tag: OCCT_VC2017_73~99 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=a820bd4f136dd7ed8caeb08192b0df1936c03353;p=occt-copy.git 0029859: Coding - GCC compiler warning -Warray-bounds in IntPatch_InterferencePolyhedron.cxx Code is corrected to avoid copying uninitialized element of the array --- diff --git a/src/IntPatch/IntPatch_InterferencePolyhedron.cxx b/src/IntPatch/IntPatch_InterferencePolyhedron.cxx index aad11b9245..9f920f600e 100644 --- a/src/IntPatch/IntPatch_InterferencePolyhedron.cxx +++ b/src/IntPatch/IntPatch_InterferencePolyhedron.cxx @@ -901,11 +901,11 @@ Standard_Boolean IntPatch_InterferencePolyhedron::TangentZoneValue if (nob<0) break; } if (nob>=0) { - while (nob