[PATCH] kernel32/tests: Fix a test failure on Windows XP.

Sven Baars sven.wine at gmail.com
Fri Sep 27 09:57:47 CDT 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 dlls/kernel32/tests/actctx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/tests/actctx.c b/dlls/kernel32/tests/actctx.c
index 2b8c3d710a..0dad5cb785 100644
--- a/dlls/kernel32/tests/actctx.c
+++ b/dlls/kernel32/tests/actctx.c
@@ -3303,8 +3303,8 @@ static void get_application_directory(char *buffer, int buffer_size)
 /* Test loading two sxs dlls at the same time */
 static void test_two_dlls_at_same_time(void)
 {
-    sxs_info dll_1;
-    sxs_info dll_2;
+    sxs_info dll_1 = {0};
+    sxs_info dll_2 = {0};
     char path1[MAX_PATH], path2[MAX_PATH];
 
     if (!fill_sxs_info(&dll_1, "1", "dummy.dll", two_dll_manifest_exe, two_dll_manifest_dll, TRUE))
-- 
2.17.1




More information about the wine-devel mailing list