From: André Hentschel Subject: widl: Initialize decoded_size Message-Id: <5ef62960-a884-5682-2a47-22db8d02b7da@dawncrow.de> Date: Wed, 22 Feb 2017 21:01:28 +0100 Signed-off-by: André Hentschel --- For reproducable builds tools/widl/write_msft.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index 137bb2d..7904e45 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -798,6 +798,7 @@ static int encode_type( if (!alignment) alignment = &scratch; if (!decoded_size) decoded_size = &scratch; + *decoded_size = 0; switch (vt) { case VT_I1: -- 2.7.4