Alexandre Julliard : wined3d: Remove unused variables.

Alexandre Julliard julliard at winehq.org
Mon Jul 16 14:14:28 CDT 2012


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jul 16 14:26:32 2012 +0200

wined3d: Remove unused variables.

---

 dlls/wined3d/surface.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index f5cc3f5..21028ba 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2553,7 +2553,6 @@ HRESULT surface_upload_from_surface(struct wined3d_surface *dst_surface, const P
     struct wined3d_format format;
     UINT update_w, update_h;
     UINT dst_w, dst_h;
-    UINT src_w, src_h;
     RECT r, dst_rect;
     UINT src_pitch;
     POINT p;
@@ -2598,9 +2597,6 @@ HRESULT surface_upload_from_surface(struct wined3d_surface *dst_surface, const P
         return WINED3DERR_INVALIDCALL;
     }
 
-    src_w = src_surface->resource.width;
-    src_h = src_surface->resource.height;
-
     dst_w = dst_surface->resource.width;
     dst_h = dst_surface->resource.height;
 




More information about the wine-cvs mailing list