From: André Hentschel Subject: widl: Initialize variables that are not necessarily filled in encode_type Message-Id: <546d7309-ddeb-230f-9283-54869f10fea3@dawncrow.de> Date: Mon, 20 Feb 2017 22:06:46 +0100 Signed-off-by: André Hentschel --- This helps with reproducable builds tools/widl/write_msft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index 137bb2d..39be30b 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -2195,7 +2195,7 @@ static void add_union_typeinfo(msft_typelib_t *typelib, type_t *tunion) static void add_typedef_typeinfo(msft_typelib_t *typelib, type_t *tdef) { msft_typeinfo_t *msft_typeinfo = NULL; - int alignment, datatype1, datatype2, size, duplicate = 0; + int alignment = 0, datatype1 = 0, datatype2 = 0, size = 0, duplicate = 0; type_t *type; if (-1 < tdef->typelib_idx) -- 2.7.4