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

Matteo Bruni matteo.mystral at gmail.com
Fri Feb 18 12:54:33 CST 2011


-------------- next part --------------
From d57db95cde2c2a27d0ece764d8cc21e88ba82a8a Mon Sep 17 00:00:00 2001
From: Matteo Bruni <mbruni at codeweavers.com>
Date: Mon, 7 Feb 2011 19:49:45 +0100
Subject: 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 */
-- 
1.7.3.4


More information about the wine-patches mailing list