Matteo Bruni : d3dx9: Remove a couple of spurious assignments (LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Mon Feb 21 10:56:57 CST 2011


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Mon Feb  7 20:16:47 2011 +0100

d3dx9: Remove a couple of spurious assignments (LLVM/Clang).

---

 dlls/d3dx9_36/mesh.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 6a74442..d9dd01f 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -511,7 +511,6 @@ HRESULT WINAPI D3DXComputeBoundingSphere(CONST D3DXVECTOR3* pfirstposition, DWOR
     temp.y = 0.0f;
     temp.z = 0.0f;
     temp1 = temp;
-    d = 0.0f;
     *pradius = 0.0f;
 
     for(i=0; i<numvertices; i++)
@@ -1375,7 +1374,6 @@ HRESULT WINAPI D3DXCreateCylinder(LPDIRECT3DDEVICE9 device, FLOAT radius1, FLOAT
 
     vertex = 0;
     face = 0;
-    stack = 0;
 
     delta_radius = radius1 - radius2;
     radius = radius1;




More information about the wine-cvs mailing list