Matteo Bruni : d3dx9/tests: Remove spurious assignment (LLVM/Clang).

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


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Mon Feb  7 19:49:45 2011 +0100

d3dx9/tests: Remove spurious assignment (LLVM/Clang).

---

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

diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index e455a96..5ad1924 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -935,7 +935,6 @@ static void D3DXQuaternionTest(void)
     ok(relative_error(angle,  expected ) < admitted_error, "Expected: %f, Got: %f\n", expected, angle);
     /* Test if |w|>1.0f */
     expectedvec.x = 1.0f; expectedvec.y = 2.0f; expectedvec.z = 4.0f;
-    expected = 0.0f;
     D3DXQuaternionToAxisAngle(&q,&axis,&angle);
     expect_vec3(expectedvec,axis);
     /* Test the null quaternion */




More information about the wine-cvs mailing list