GCC14: warning: missing braces around initializer

GCC14 -Wall cleanup series [-Wmissing-braces]
This commit is contained in:
Darryl L. Miles
2024-10-09 21:12:55 -04:00
committed by Tim Edwards
parent 3300f45a22
commit 967b41343b
34 changed files with 525 additions and 525 deletions
+15 -15
View File
@@ -98,10 +98,10 @@ GATest(w, cmd)
char *cmd_name;
cmdType cmd_val;
} cmds[] = {
"clrdebug", CLRDEBUG,
"setdebug", SETDEBUG,
"showdebug", SHOWDEBUG,
0
{"clrdebug", CLRDEBUG},
{"setdebug", SETDEBUG},
{"showdebug", SHOWDEBUG},
{0}
};
GAInit();
@@ -388,17 +388,17 @@ GAInit()
char *di_name;
int *di_id;
} dflags[] = {
"chanonly", &gaDebChanOnly,
"chanstats", &gaDebChanStats,
"maze", &gaDebMaze,
"nosimple", &gaDebNoSimple,
"paintstems", &gaDebPaintStems,
"showchans", &gaDebShowChans,
"showmaze", &gaDebShowMaze,
"stems", &gaDebStems,
"verbose", &gaDebVerbose,
"noclean", &gaDebNoClean,
0
{"chanonly", &gaDebChanOnly},
{"chanstats", &gaDebChanStats},
{"maze", &gaDebMaze},
{"nosimple", &gaDebNoSimple},
{"paintstems", &gaDebPaintStems},
{"showchans", &gaDebShowChans},
{"showmaze", &gaDebShowMaze},
{"stems", &gaDebStems},
{"verbose", &gaDebVerbose},
{"noclean", &gaDebNoClean},
{0}
};
if (gaInitialized)