From a27aea45989c2a26038b0d84fd51bf7d6104166f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hejl?= Date: Wed, 3 Jan 2024 23:57:51 +0100 Subject: [PATCH] Remove the unused variable new_radius in Arc Welder tests. --- tests/libslic3r/test_arc_welder.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/libslic3r/test_arc_welder.cpp b/tests/libslic3r/test_arc_welder.cpp index 44b88655ea..f0ab8fbab3 100644 --- a/tests/libslic3r/test_arc_welder.cpp +++ b/tests/libslic3r/test_arc_welder.cpp @@ -280,7 +280,6 @@ TEST_CASE("least squares arc fitting, interpolating end points", "[ArcWelder]") REQUIRE(new_center_opt); if (new_center_opt) { Vec2d new_center = *new_center_opt; - double new_radius = (new_center - start_pos).norm(); double total_deviation = 0; double new_total_deviation = 0; for (const Vec2d &s : samples) {