Rob Shearman : d3d9: Remove unneeded local variable in IDirect3DDevice9Impl_SetFVF.

Alexandre Julliard julliard at winehq.org
Mon Aug 18 10:47:05 CDT 2008


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

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Sun Aug 17 18:27:31 2008 +0100

d3d9: Remove unneeded local variable in IDirect3DDevice9Impl_SetFVF.

---

 dlls/d3d9/device.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c
index 2b133c1..ddeaca3 100644
--- a/dlls/d3d9/device.c
+++ b/dlls/d3d9/device.c
@@ -1306,7 +1306,6 @@ HRESULT  WINAPI  IDirect3DDevice9Impl_SetFVF(LPDIRECT3DDEVICE9EX iface, DWORD FV
 
     EnterCriticalSection(&d3d9_cs);
     if (0 != FVF) {
-         HRESULT hr;
          IDirect3DVertexDeclaration9* pDecl = getConvertedDecl(This, FVF);
 
          if(!pDecl) {




More information about the wine-cvs mailing list