Hans Leidekker : fusion/tests: Initialize a variable.

Alexandre Julliard julliard at winehq.org
Fri Jul 3 09:31:09 CDT 2009


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Jul  3 11:30:48 2009 +0200

fusion/tests: Initialize a variable.

---

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

diff --git a/dlls/fusion/tests/asmname.c b/dlls/fusion/tests/asmname.c
index 442f00f..864ded5 100644
--- a/dlls/fusion/tests/asmname.c
+++ b/dlls/fusion/tests/asmname.c
@@ -726,6 +726,7 @@ static void test_CreateAssemblyNameObject(void)
     ok(name != NULL, "Expected non-NULL name\n");
 
     size = MAX_PATH;
+    str[0] = '\0';
     hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_FULL);
     ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
     todo_wine




More information about the wine-cvs mailing list