d3dx9: Remove a couple of spurious assignments (LLVM/Clang).
authorMatteo Bruni <mbruni@codeweavers.com>
Mon, 7 Feb 2011 19:16:47 +0000 (20:16 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 21 Feb 2011 11:44:27 +0000 (12:44 +0100)
dlls/d3dx9_36/mesh.c

index 6a74442482f6360ac45551bcbd0f93eb47c0ac4a..d9dd01f8be21c5fbf4da0a4734f72d9ee97037e7 100644 (file)
@@ -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;