widl: Initialize decoded_size

André Hentschel nerv at dawncrow.de
Wed Feb 22 14:01:28 CST 2017


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---

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




More information about the wine-patches mailing list