Gerald Pfeifer : d3d9: Remove variable hr which is not really used from resource_test_cleanup.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:25 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Apr 23 20:59:35 2010 +0200

d3d9: Remove variable hr which is not really used from resource_test_cleanup.

---

 dlls/d3d9/tests/stateblock.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/tests/stateblock.c b/dlls/d3d9/tests/stateblock.c
index 4e8907a..8b7a0ba 100644
--- a/dlls/d3d9/tests/stateblock.c
+++ b/dlls/d3d9/tests/stateblock.c
@@ -2027,7 +2027,6 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t
     struct resource_test_context *ctx = test->test_context;
     const struct resource_test_arg *arg = test->test_arg;
     unsigned int i;
-    HRESULT hr;
 
     resource_apply_data(device, test, &ctx->default_data);
 
@@ -2042,7 +2041,7 @@ static void resource_test_cleanup(IDirect3DDevice9 *device, struct state_test *t
 
     for (i = 0; i < arg->tex_count; ++i)
     {
-        hr = IDirect3DBaseTexture9_Release(ctx->test_data_all.tex[i]);
+        IDirect3DBaseTexture9_Release(ctx->test_data_all.tex[i]);
     }
 
     HeapFree(GetProcessHeap(), 0, ctx->default_data.vb);




More information about the wine-cvs mailing list