diff options
author | Roman Sorokin <sorok-roma@yandex.ru> | 2014-07-29 16:37:07 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:22:28 +0300 |
commit | 2505bbf880e1ba9c4b354beec9705e2a1811fd11 (patch) | |
tree | 1e22059ef36f356a72c1c0915d6f87dc05e80a32 /geometry/geometry_tests | |
parent | 45a262f85e8e717215edc1ad7a29e4e868035bbd (diff) |
small fix, removing useless variable
Diffstat (limited to 'geometry/geometry_tests')
-rw-r--r-- | geometry/geometry_tests/spline_test.cpp | 5 |
1 files 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); |