Matteo Bruni : d3dx10/tests: Initialize a function argument.

Alexandre Julliard julliard at winehq.org
Fri Jun 10 16:28:27 CDT 2022


Module: wine
Branch: master
Commit: caa402ab910723ea3f033dfd37e7f9b231e8bdbf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=caa402ab910723ea3f033dfd37e7f9b231e8bdbf

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu Jun  9 20:07:25 2022 +0200

d3dx10/tests: Initialize a function argument.

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);




More information about the wine-cvs mailing list