Gerald Pfeifer : d3dx9_36: Remove variable nul which is not really used from D3DXVector4Test.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:26 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Apr 24 16:30:50 2010 +0200

d3dx9_36: Remove variable nul which is not really used from D3DXVector4Test.

---

 dlls/d3dx9_36/tests/math.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index 9cc9248..832798f 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -1308,13 +1308,12 @@ static void D3DXVector3Test(void)
 
 static void D3DXVector4Test(void)
 {
-    D3DXVECTOR4 expectedvec, gotvec, nul, u, v, w, x;
+    D3DXVECTOR4 expectedvec, gotvec, u, v, w, x;
     LPD3DXVECTOR4 funcpointer;
     D3DXVECTOR4 expectedtrans, gottrans;
     D3DXMATRIX mat;
     FLOAT coeff1, coeff2, expected, got, scale;
 
-    nul.x = 0.0f; nul.y = 0.0f; nul.z = 0.0f; nul.w = 0.0f;
     u.x = 1.0f; u.y = 2.0f; u.z = 4.0f; u.w = 10.0;
     v.x = -3.0f; v.y = 4.0f; v.z = -5.0f; v.w = 7.0;
     w.x = 4.0f; w.y =6.0f; w.z = -2.0f; w.w = 1.0f;




More information about the wine-cvs mailing list