1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0032341: Coding Rules - eliminate GCC11 compiler warnings -Wmaybe-uninitialized

This commit is contained in:
kgv
2021-04-29 21:01:17 +03:00
parent 36fbf05b15
commit b04cd5d587
13 changed files with 84 additions and 86 deletions

View File

@@ -84,8 +84,8 @@ IntImp_ConstIsoparametric IntImp_Int2S:: Perform(const TColStd_Array1OfReal& Par
math_FunctionSetRoot& Rsnld,
const IntImp_ConstIsoparametric ChoixIso)
{
Standard_Real BornInfBuf[3], BornSupBuf[3], ToleranceBuf[3], UVapBuf[3];
Standard_Real UvresBuf[4];
Standard_Real BornInfBuf[3] = {}, BornSupBuf[3] = {}, ToleranceBuf[3] = {}, UVapBuf[3] = {};
Standard_Real UvresBuf[4] = {};
math_Vector BornInf (BornInfBuf, 1, 3), BornSup (BornSupBuf, 1, 3),
Tolerance (ToleranceBuf, 1, 3), UVap (UVapBuf, 1, 3);
TColStd_Array1OfReal Uvres (UvresBuf[0], 1, 4);