mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026852: Coding - compiler warnings issued by GCC 5.2.1
Compiler warnings eliminated: - BRepAlgo_DSAccess: avoid copying of local list - IntPatch, IntTools: initialize "possibly used uninitialized" variables by zeros - Intf: slight refactoring - OSD_signal: suppress unused argument - OpenGL: add missing initializers in structures - STEPConstruct_GDTProperty: correct function signature to pass output parameters by reference
This commit is contained in:
@@ -2510,7 +2510,7 @@ Standard_Boolean IntCyCyTrim( 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 intersted in elements of aCriticalDelta array
|
||||
//if their index is greater than or equal to aNbCritPoints
|
||||
|
Reference in New Issue
Block a user