Mike McCormack : msi: Fix an uninitialized variable in the test cases.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 13 06:38:03 CST 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Mon Nov 13 16:34:47 2006 +0900

msi: Fix an uninitialized variable in the test cases.

---

 dlls/msi/tests/suminfo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/tests/suminfo.c b/dlls/msi/tests/suminfo.c
index 869495d..3bcc125 100644
--- a/dlls/msi/tests/suminfo.c
+++ b/dlls/msi/tests/suminfo.c
@@ -391,6 +391,7 @@ static void test_summary_binary(void)
     ok( sz == 0, "length wrong\n");
     }
 
+    ival = -1;
     r = MsiSummaryInfoGetProperty(hsuminfo, PID_WORDCOUNT, &type, &ival, NULL, NULL, NULL);
     ok(r == ERROR_SUCCESS, "MsiSummaryInfoGetProperty failed\n");
     todo_wine ok( ival == 0, "value incorrect\n");




More information about the wine-cvs mailing list