From 4c15a1c7f706861ec83a10755c30213a3f772846 Mon Sep 17 00:00:00 2001 From: Michael Bell Date: Mon, 18 Oct 2021 11:15:14 +0100 Subject: [PATCH] Remove shadow declaration of parameter space Declaration is redundant as event parameter space is assigned earlier in function. --- Surface_sweep_2/include/CGAL/Surface_sweep_2/Event_comparer.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Surface_sweep_2/include/CGAL/Surface_sweep_2/Event_comparer.h b/Surface_sweep_2/include/CGAL/Surface_sweep_2/Event_comparer.h index 4c9ba293b05..f956a0b2ee4 100644 --- a/Surface_sweep_2/include/CGAL/Surface_sweep_2/Event_comparer.h +++ b/Surface_sweep_2/include/CGAL/Surface_sweep_2/Event_comparer.h @@ -98,8 +98,6 @@ public: const Point_2& pt1 = e1->point(); if (is_isolated2 || is_closed_interior2) { const Point_2& pt2 = e2->point(); - Arr_parameter_space ps_x2 = e2->parameter_space_in_x(); - Arr_parameter_space ps_y2 = e2->parameter_space_in_y(); return _compare_points(pt1, ps_x1, ps_y1, pt2, ps_x2, ps_y2); } Arr_curve_end ind2;