diff --git a/unit_tests/quaternion_test/quaternion_test.cpp b/unit_tests/quaternion_test/quaternion_test.cpp index 388a4e1..bc43068 100644 --- a/unit_tests/quaternion_test/quaternion_test.cpp +++ b/unit_tests/quaternion_test/quaternion_test.cpp @@ -115,6 +115,7 @@ AssertionResult IsNearOrientation( // Test our test helpers. template void TestHelpers_Test(const T& precision) { + (void)precision; using Quaternion = mathfu::Quaternion; const double epsilon = 1e-5; @@ -336,6 +337,7 @@ TEST_ALL_F(Mult) // multiplication non-associative for scale factors > 1. template void MultQuatFloatFlipsQuat_Test(const T& precision) { + (void)precision; using Quaternion = mathfu::Quaternion; using Vector3 = mathfu::Vector; const Vector3 up(0, 1, 0); @@ -434,6 +436,7 @@ TEST_ALL_F(Normalize) // Quaternion had a larger angle. template void ToAngleAxisReturnsSmallQuat_Test(const T& precision) { + (void)precision; using Quaternion = mathfu::Quaternion; using Vector3 = mathfu::Vector; const float epsilon = 1e-5f; @@ -622,6 +625,7 @@ const float kSlerpTestAnglesInDegrees[] { // Tests that Slerp returns unit-length quaternions. template void SlerpResultIsUnit_Test(const T& precision) { + (void)precision; using Quaternion = mathfu::Quaternion; const mathfu::Vector axis(0, 1, 0); @@ -685,6 +689,7 @@ void CheckSlerp(float angle, float t, float expected_angle) { // since the two are pretty much the same operation with different spelling. template void Slerp_Test(const T& precision) { + (void)precision; // Easy and unambiguous cases. CheckSlerp(+160, 0.375f, +60); CheckSlerp(-160, 0.375f, -60);