winebuild: Initialize entry point to avoid a compiler warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ce5e1c12c3
commit
b3a38fef26
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue