Reduce the number of warnings about missing initializers.

This commit is contained in:
Joerg Mayer 2000-10-22 23:56:32 +00:00 committed by Alexandre Julliard
parent 2aeb57eeff
commit 959d73e8dd
6 changed files with 5 additions and 6 deletions

View File

@ -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;

View File

@ -54,7 +54,6 @@ DOSCONF DOSCONF_config =
typedef struct {
const char *tag_name;
int (*tag_handler)(char **p);
void *data;
} TAG_ENTRY;

View File

@ -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;

View File

@ -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)

View File

@ -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" );
}

View File

@ -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 */