fusion/tests: Initialize a variable.

Hans Leidekker hans at codeweavers.com
Fri Jul 3 04:30:48 CDT 2009


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-patches mailing list