Module: wine Branch: master Commit: 6db01bcbbc7a8a738750f0ad456c9825f160f5c5 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6db01bcbbc7a8a738750f0ad4...
Author: Rémi Bernon rbernon@codeweavers.com Date: Fri Sep 24 10:17:40 2021 +0200
winegcc: Add missing strarray initialization.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winegcc/winegcc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 0cb5ae390de..8e72c6bcfee 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1475,6 +1475,7 @@ static void build(struct options* opts) { struct strarray tool, objcopy = build_tool_name(opts, TOOL_OBJCOPY);
+ tool = empty_strarray; strarray_addall( &tool, objcopy ); strarray_add(&tool, "--only-keep-debug"); strarray_add(&tool, output_path);