winegcc: Add missing strarray initialization.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2021-09-24 10:17:40 +02:00 committed by Alexandre Julliard
parent 5b513cbb0e
commit 6db01bcbbc

View file

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