mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0029859: Coding - GCC compiler warning -Warray-bounds in IntPatch_InterferencePolyhedron.cxx
This commit is contained in:
parent
1f26f80bb7
commit
9dc6c9b8d4
@ -855,7 +855,7 @@ Standard_Boolean IntPatch_InterferencePolyhedron::TangentZoneValue
|
||||
// Arrays are increased to eliminate gcc warning.
|
||||
Standard_Real parO[10], parT[10];
|
||||
Standard_Integer nbNoInserted=0;
|
||||
Standard_Integer piToInsert[10];
|
||||
Standard_Integer piToInsert[17]; // for GCC 4.9
|
||||
|
||||
for (nob=0; nob<3; nob++) {
|
||||
//processing of the object segment P[nob], P[nob+1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user