From 1a00096bb7fbcc69eb9c3a1a73d7cadc5a65b0ec Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Mon, 1 Mar 2010 09:21:49 +0000 Subject: [PATCH] replaced unnecessary "else if" by else, thus removing compiler warning; bug supplied by Andreas on 1/3/2010 (email) --- .../Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h index 99d1743b915..8cace42b9b1 100644 --- a/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h +++ b/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h @@ -932,7 +932,7 @@ private: const Site_2* pt; if ( p_.is_point() ) { pt = &p_; } else if ( q_.is_point() ) { pt = &q_; } - else if ( r_.is_point() ) { pt = &r_; } + else { pt = &r_; } if ( is_endpoint_of(*pt, t) ) { Site_2 tp = other_site(*pt, t);