[PATCH v4 8/9] d3dx10/tests: Initialize a function argument.

Matteo Bruni wine at gitlab.winehq.org
Fri Jun 10 12:52:45 CDT 2022


From: Matteo Bruni <mbruni at codeweavers.com>

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 dlls/d3dx10_43/tests/d3dx10.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/d3dx10_43/tests/d3dx10.c b/dlls/d3dx10_43/tests/d3dx10.c
index 5df8d0d1c93..0a297188e19 100644
--- a/dlls/d3dx10_43/tests/d3dx10.c
+++ b/dlls/d3dx10_43/tests/d3dx10.c
@@ -2025,6 +2025,7 @@ static void test_get_image_info(void)
     ok(hr == E_FAIL, "Got unexpected hr %#x.\n", hr);
     ok(hr2 == 0xdeadbeef, "Got unexpected hr2 %#x.\n", hr2);
     hr2 = 0xdeadbeef;
+    dword = 0xdeadbeef;
     hr = D3DX10GetImageInfoFromMemory(&dword, sizeof(dword), NULL, &image_info, &hr2);
     ok(hr == E_FAIL, "Got unexpected hr %#x.\n", hr);
     ok(hr == hr2, "Got unexpected hr2 %#x.\n", hr2);
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/205



More information about the wine-devel mailing list