Module: wine Branch: master Commit: b3a38fef26915e0cdc77de14f059b0ee2b0751f1 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b3a38fef26915e0cdc77de14f...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Nov 26 18:12:55 2020 +0100
winebuild: Initialize entry point to avoid a compiler warning.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winebuild/import.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index 53d4fb2869b..fb5c26da07f 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -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 );