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
+9 -9
View File
@@ -408,15 +408,15 @@ PlotColorVersTechLine(sectionName, argc, argv)
{
VersatecStyle *new;
static struct { char *l_str; int l_color; } colors[] = {
"black", BLACK,
"cyan", CYAN,
"magenta", MAGENTA,
"yellow", YELLOW,
"K", BLACK,
"C", CYAN,
"M", MAGENTA,
"Y", YELLOW,
0
{"black", BLACK},
{"cyan", CYAN},
{"magenta", MAGENTA},
{"yellow", YELLOW},
{"K", BLACK},
{"C", CYAN},
{"M", MAGENTA},
{"Y", YELLOW},
{0}
};
int i;