=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: widl: Initialize decoded_size.

Alexandre Julliard julliard at winehq.org
Thu Feb 23 16:27:50 CST 2017


Module: wine
Branch: master
Commit: 028b2bddfcd2e7ccb9e3243c07c7a96f625a1537
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=028b2bddfcd2e7ccb9e3243c07c7a96f625a1537

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Feb 22 21:01:28 2017 +0100

widl: Initialize decoded_size.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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:




More information about the wine-cvs mailing list