1
0
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:
abv
2015-11-08 19:29:24 +03:00
parent 3d18f1e038
commit 04e9307054
11 changed files with 49 additions and 61 deletions

View File

@@ -343,7 +343,8 @@ static void SegvHandler(const int theSignal,
return;
}
#else
(void )theContext;
(void)theSignal; // silence GCC warnings
(void)theContext;
#endif
#ifdef linux
if (fFltExceptions)