From 028b2bddfcd2e7ccb9e3243c07c7a96f625a1537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 22 Feb 2017 21:01:28 +0100 Subject: [PATCH] widl: Initialize decoded_size. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Hentschel Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 137bb2db2ea..7904e4539fe 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: