Skip to content

Commit

Permalink
/home/runner/work/OCCT/OCCT/src/AdvApp2Var/AdvApp2Var_SysBase.cxx:263…
Browse files Browse the repository at this point in the history
…3:13: error: ‘cfmt’ may be used uninitialized [-Werror=maybe-uninitialized]

[ 21%] Building CXX object src/TKGeomBase/CMakeFiles/TKGeomBase.dir/__/GCE2d/GCE2d_MakeTranslation.cxx.o
[ 21%] Building CXX object src/TKGeomBase/CMakeFiles/TKGeomBase.dir/__/gce/gce_MakeCirc.cxx.o
 2633 |     macrmsg_(subrou, &nufmt, &ifmt, &dfmt, cfmt, 7L, 1L);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • Loading branch information
dpasukhi committed Jan 9, 2025
1 parent 904837f commit 630f506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdvApp2Var/AdvApp2Var_SysBase.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2520,7 +2520,7 @@ int AdvApp2Var_SysBase::mcrlist_(integer *ier) const
/* Builtin functions */

/* Local variables */
char cfmt[1];
char cfmt[1] {};
doublereal dfmt;
integer ifmt, i__, nufmt, ntotal;
char subrou[7];
Expand Down

0 comments on commit 630f506

Please sign in to comment.