mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-06 08:47:11 +08:00
0029859: Coding - GCC compiler warning -Warray-bounds in IntPatch_InterferencePolyhedron.cxx
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user