From 2505bbf880e1ba9c4b354beec9705e2a1811fd11 Mon Sep 17 00:00:00 2001 From: Roman Sorokin Date: Tue, 29 Jul 2014 15:37:07 +0300 Subject: [PATCH] small fix, removing useless variable --- geometry/geometry_tests/spline_test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/geometry/geometry_tests/spline_test.cpp b/geometry/geometry_tests/spline_test.cpp index ac0d5a0dea..7c49e4b212 100644 --- a/geometry/geometry_tests/spline_test.cpp +++ b/geometry/geometry_tests/spline_test.cpp @@ -105,11 +105,10 @@ UNIT_TEST(Positions) path.push_back(PointF(40, 40)); path.push_back(PointF(80, 0)); - Spline spl; Spline spl0; Spline spl4; - spl.FromArray(path); - spl0 = spl4 = spl; + spl0.FromArray(path); + spl4 = spl0; float const sqrt2 = sqrtf(2.0f); Spline::iterator itr; itr.Attach(spl0);