=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11/tests: Remove dead assignments.
Alexandre Julliard
julliard at winehq.org
Mon May 15 16:09:23 CDT 2017
Module: wine
Branch: master
Commit: 5105be59861879b5edbbf25095149154bf27d987
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5105be59861879b5edbbf25095149154bf27d987
Author: Józef Kucia <jkucia at codeweavers.com>
Date: Mon May 15 12:05:43 2017 +0200
d3d11/tests: Remove dead assignments.
Signed-off-by: Józef Kucia <jkucia 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 | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 8008893..5b85845 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -2507,7 +2507,6 @@ static void test_create_buffer(void)
buffer = create_buffer(device, D3D11_BIND_VERTEX_BUFFER, 1024, NULL);
hr = check_interface(buffer, &IID_ID3D10Buffer, TRUE, TRUE); /* Not available on all Windows versions. */
ID3D11Buffer_Release(buffer);
-
if (FAILED(hr))
{
win_skip("Buffers do not implement ID3D10Buffer.\n");
@@ -4323,8 +4322,8 @@ static void test_create_blend_state(void)
}
/* Not available on all Windows versions. */
- hr = check_interface(blend_state1, &IID_ID3D10BlendState, TRUE, TRUE);
- hr = check_interface(blend_state1, &IID_ID3D10BlendState1, TRUE, TRUE);
+ check_interface(blend_state1, &IID_ID3D10BlendState, TRUE, TRUE);
+ check_interface(blend_state1, &IID_ID3D10BlendState1, TRUE, TRUE);
refcount = ID3D11BlendState_Release(blend_state1);
ok(refcount == 1, "Got unexpected refcount %u.\n", refcount);
@@ -4434,7 +4433,7 @@ static void test_create_depthstencil_state(void)
ID3D11Device_Release(tmp);
/* Not available on all Windows versions. */
- hr = check_interface(ds_state1, &IID_ID3D10DepthStencilState, TRUE, TRUE);
+ check_interface(ds_state1, &IID_ID3D10DepthStencilState, TRUE, TRUE);
refcount = ID3D11DepthStencilState_Release(ds_state2);
ok(refcount == 1, "Got unexpected refcount %u.\n", refcount);
More information about the wine-cvs
mailing list