Matteo Bruni : d3dx9/tests: Initialize an input variable.

Alexandre Julliard julliard at winehq.org
Fri Feb 18 15:15:00 CST 2022


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Fri Feb 18 11:14:26 2022 +0100

d3dx9/tests: Initialize an input variable.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dx9_36/tests/math.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index 2ed9131d788..501895665f7 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -3309,6 +3309,7 @@ static void test_D3DXFloat_Array(void)
     };
 
     /* exception on NULL out or in parameter */
+    single.f = 0.0f;
     out = D3DXFloat32To16Array(&half, &single.f, 0);
     ok(out == &half, "Got %p, expected %p.\n", out, &half);
 




More information about the wine-cvs mailing list