d3dx9: Remove a couple of spurious assignments (LLVM/Clang).
Matteo Bruni
matteo.mystral at gmail.com
Fri Feb 18 12:54:49 CST 2011
-------------- next part --------------
From 2ea37c12754dd672c1eae5e81c59f5cd6475dc0d Mon Sep 17 00:00:00 2001
From: Matteo Bruni <mbruni at codeweavers.com>
Date: Mon, 7 Feb 2011 20:16:47 +0100
Subject: 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;
--
1.7.3.4
More information about the wine-patches
mailing list