Remove two variables which are not really used from IDirect3DRMMeshBuilderImpl_Load.

Gerald Pfeifer gerald at pfeifer.com
Sat Apr 24 08:59:49 CDT 2010


Once we remove info, it turns out that also pinfo is not used at all.

Gerald
---
 dlls/d3drm/meshbuilder.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c
index 6eb5d1b..a2013f4 100644
--- a/dlls/d3drm/meshbuilder.c
+++ b/dlls/d3drm/meshbuilder.c
@@ -459,10 +459,6 @@ static HRESULT WINAPI IDirect3DRMMeshBuilderImpl_Load(IDirect3DRMMeshBuilder* if
 
     if (loadflags == D3DRMLOAD_FROMMEMORY)
     {
-        DXFILELOADMEMORY info;
-        LPD3DRMLOADMEMORY pinfo = (LPD3DRMLOADMEMORY)filename;
-        info.lpMemory = pinfo->lpMemory;
-        info.dSize = pinfo->dSize;
         load_options = DXFILELOAD_FROMMEMORY;
     }
     else
-- 
1.6.6.2



More information about the wine-patches mailing list