From a820bd4f136dd7ed8caeb08192b0df1936c03353 Mon Sep 17 00:00:00 2001 From: abv Date: Tue, 12 Jun 2018 22:18:34 +0300 Subject: [PATCH] 0029859: Coding - GCC compiler warning -Warray-bounds in IntPatch_InterferencePolyhedron.cxx Code is corrected to avoid copying uninitialized element of the array --- src/IntPatch/IntPatch_InterferencePolyhedron.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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