mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 14:17:43 +02:00
GCC14: warning: missing braces around initializer
GCC14 -Wall cleanup series [-Wmissing-braces]
This commit is contained in:
committed by
Tim Edwards
parent
3300f45a22
commit
967b41343b
+15
-15
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user