Reduce the number of warnings about missing initializers.
diff --git a/files/dos_fs.c b/files/dos_fs.c
index 5c1da9a..6db2181 100644
--- a/files/dos_fs.c
+++ b/files/dos_fs.c
@@ -1489,7 +1489,7 @@
const char *long_mask, int drive, BYTE attr,
int skip, WIN32_FIND_DATAA *entry )
{
- static FIND_FIRST_INFO info = { NULL };
+ static FIND_FIRST_INFO info;
LPCSTR short_name, long_name;
int count;
diff --git a/msdos/dosconf.c b/msdos/dosconf.c
index eea0170..963d429 100644
--- a/msdos/dosconf.c
+++ b/msdos/dosconf.c
@@ -54,7 +54,6 @@
typedef struct {
const char *tag_name;
int (*tag_handler)(char **p);
- void *data;
} TAG_ENTRY;
diff --git a/server/registry.c b/server/registry.c
index 3ca1c37..3375e50 100644
--- a/server/registry.c
+++ b/server/registry.c
@@ -1052,7 +1052,7 @@
{ "hex:", 4, REG_BINARY, REG_BINARY },
{ "dword:", 6, REG_DWORD, REG_DWORD },
{ "hex(", 4, -1, REG_BINARY },
- { NULL, }
+ { NULL, 0, 0, 0 }
};
const struct data_type *ptr;
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c
index 8564036..427de76 100644
--- a/tools/winebuild/main.c
+++ b/tools/winebuild/main.c
@@ -103,7 +103,7 @@
{ "-spec", 1, do_spec, "-spec file.spec Build a .c file from a spec file" },
{ "-glue", 1, do_glue, "-glue file.c Build the 16-bit glue for a .c file" },
{ "-relay", 0, do_relay, "-relay Build the relay assembly routines" },
- { NULL }
+ { NULL, 0, NULL, NULL }
};
static void do_pic(void)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index f685a00..b50fe3b 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -255,7 +255,7 @@
assert(0);
}
}
- else fprintf( outfile, " { 0, }" );
+ else fprintf( outfile, " { 0, { 0,0,0,0 }, 0, 0, 0, 0 }" );
if (i < Limit) fprintf( outfile, ",\n" );
}
diff --git a/windows/x11drv/keyboard.c b/windows/x11drv/keyboard.c
index d7abd4f..a0bcd66 100644
--- a/windows/x11drv/keyboard.c
+++ b/windows/x11drv/keyboard.c
@@ -401,7 +401,7 @@
{"Japanese 106 keyboard layout", 932, &main_key_JA_jp106, &main_key_scan_qwerty, &main_key_vkey_qwerty},
{"Japanese pc98x1 keyboard layout", 932, &main_key_JA_pc98x1, &main_key_scan_qwerty, &main_key_vkey_qwerty},
- {0} /* sentinel */
+ {NULL, 0, NULL, NULL, NULL} /* sentinel */
};
static unsigned kbd_layout=0; /* index into above table of layouts */