Commit 959d73e8 authored by Joerg Mayer's avatar Joerg Mayer Committed by Alexandre Julliard

Reduce the number of warnings about missing initializers.

parent 2aeb57ee
......@@ -1489,7 +1489,7 @@ int DOSFS_FindNext( const char *path, const char *short_mask,
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;
......
......@@ -54,7 +54,6 @@ DOSCONF DOSCONF_config =
typedef struct {
const char *tag_name;
int (*tag_handler)(char **p);
void *data;
} TAG_ENTRY;
......
......@@ -1052,7 +1052,7 @@ static int get_data_type( const char *buffer, int *type, int *parse_type )
{ "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;
......
......@@ -103,7 +103,7 @@ static const struct option option_table[] =
{ "-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)
......
......@@ -255,7 +255,7 @@ static void output_exports( FILE *outfile, int nr_exports, int nr_names, int fwd
assert(0);
}
}
else fprintf( outfile, " { 0, }" );
else fprintf( outfile, " { 0, { 0,0,0,0 }, 0, 0, 0, 0 }" );
if (i < Limit) fprintf( outfile, ",\n" );
}
......
......@@ -401,7 +401,7 @@ static const struct {
{"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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment