winebuild: Initialize entry point to avoid a compiler warning.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-11-26 18:12:55 +01:00
parent ce5e1c12c3
commit b3a38fef26
1 changed files with 1 additions and 2 deletions

View File

@ -215,8 +215,7 @@ static inline ORDDEF *find_export( const char *name, ORDDEF **table, int size )
{
ORDDEF func, *odp, **res = NULL;
func.name = xstrdup(name);
func.ordinal = -1;
func.name = func.export_name = xstrdup(name);
odp = &func;
if (table) res = bsearch( &odp, table, size, sizeof(*table), func_cmp );
free( func.name );