[1/4] d3drm/tests: Remove unused code

André Hentschel nerv at dawncrow.de
Sun May 12 16:53:18 CDT 2013


---
 dlls/d3drm/tests/d3drm.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/d3drm/tests/d3drm.c b/dlls/d3drm/tests/d3drm.c
index db9d623..9872f04 100644
--- a/dlls/d3drm/tests/d3drm.c
+++ b/dlls/d3drm/tests/d3drm.c
@@ -686,12 +686,6 @@ static void test_Face(void)
 
     hr = IDirect3DRM_CreateFace(d3drm, &face1);
     ok(hr == D3DRM_OK, "Cannot get IDirect3DRMFace interface (hr = %x)\n", hr);
-    if (FAILED(hr))
-    {
-        skip("Cannot get IDirect3DRMFace interface (hr = %x), skipping tests\n", hr);
-        IDirect3DRM_Release(d3drm);
-        return;
-    }
 
     hr = IDirect3DRMFace_GetClassName(face1, NULL, cname);
     ok(hr == E_INVALIDARG, "GetClassName failed with %x\n", hr);
-- 
1.7.10.4




More information about the wine-patches mailing list