Stefan Dösinger : d3d11/tests: Fix a gcc -Wmisleading-indentation warning.
Alexandre Julliard
julliard at winehq.org
Fri Aug 6 16:10:40 CDT 2021
Module: wine
Branch: master
Commit: 9e725a6d58db36d2cfe5a56fec9170b94f7b8ed5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9e725a6d58db36d2cfe5a56fec9170b94f7b8ed5
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu Aug 5 20:56:57 2021 +0300
d3d11/tests: Fix a gcc -Wmisleading-indentation warning.
Because the ID3D11Asynchronous_Release(query) line is indented 4 spaces more
than the if condition gcc thinks the code is misleading.
Signed-off-by: Stefan Dösinger <stefan at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3d11/tests/d3d11.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 6073fae26d9..ae3020e130d 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -5856,9 +5856,11 @@ static void test_occlusion_query(void)
get_query_data(context, query, &data, sizeof(data));
/* This test occasionally succeeds with CSMT enabled because of a race condition. */
-if (0)
- todo_wine ok(data.dword[0] == 0x1000 && !data.dword[1],
- "Got unexpected query result 0x%08x%08x.\n", data.dword[1], data.dword[0]);
+ if (0)
+ {
+ todo_wine ok(data.dword[0] == 0x1000 && !data.dword[1],
+ "Got unexpected query result 0x%08x%08x.\n", data.dword[1], data.dword[0]);
+ }
ID3D11Asynchronous_Release(query);
ID3D11RenderTargetView_Release(rtv);
More information about the wine-cvs
mailing list