1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

@@ -197,10 +197,8 @@ IGESData_IGESReaderTool::IGESData_IGESReaderTool
const IGESData_DirPart& DP, Handle(Interface_Check)& ach) const
{
Standard_Integer v[17];
Standard_Character nom[9]; Standard_Character snum[9], theRes1[9],theRes2[9];
//char mess[50]; //szv#4:S4163:12Mar99 unused
Standard_Integer v[17] = {};
Standard_Character nom[9] = {}; Standard_Character snum[9] = {}, theRes1[9] = {}, theRes2[9] = {};
DP.Values(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],
v[12],v[13],v[14],v[15],v[16],theRes1,theRes2,nom,snum);