From 09e563c73f1a9fa2a8c3b22d8f5bf62e17f9cae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Wed, 16 Oct 2019 09:28:43 +0200 Subject: [PATCH] Fix a "potentially uninitialized" warning --- .../Surface_mesh_shortest_path/Surface_mesh_shortest_path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h b/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h index 70a5d9b3acc..7986d65dc0b 100644 --- a/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h +++ b/Surface_mesh_shortest_path/include/CGAL/Surface_mesh_shortest_path/Surface_mesh_shortest_path.h @@ -1206,7 +1206,7 @@ private: // the relative position of the ray between node.source() and node.target_vertex() and the ray // from occupier.source() (-1 left, 0 collinear, 1 right) - CGAL::Comparison_result c; + CGAL::Comparison_result c = CGAL::EQUAL; // initializing to please weak compilers if (currentOccupier.first != NULL) {