[PATCH 3/8] dxgi/tests: Fix uninitialized variable warnings.
Signed-off-by: Zhiyi Zhang <zzhang(a)codeweavers.com> --- dlls/dxgi/tests/dxgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c index e2d9907d0ea..882ed0c28b7 100644 --- a/dlls/dxgi/tests/dxgi.c +++ b/dlls/dxgi/tests/dxgi.c @@ -2131,7 +2131,7 @@ static void test_get_containing_output(void) {-49, -50}, {-50, -50}, {-51, -50}, {-49, -51}, {-50, -51}, {-51, -51}, }; - unsigned int x, y; + unsigned int x = 0, y = 0; switch (i) { -- 2.20.1
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=68983 Your paranoid android. === w2008s64 (32 bit report) === dxgi: dxgi.c:5193: Test failed: Got unexpected message 0x1a, hwnd 001300FA, wparam 0x18, lparam 0x7e518. === w1064v1809_2scr (32 bit report) === dxgi: dxgi.c:5193: Test failed: Got unexpected message 0x31f, hwnd 000F01CA, wparam 0x1, lparam 0.
participants (3)
-
Henri Verbeet -
Marvin -
Zhiyi Zhang