From c5c387f45e65df51ebfb26b0ebcce5ed26499b08 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 24 Oct 2011 13:21:59 +0000 Subject: [PATCH] workaround to avoid an unjustified warning of g++ --- .../demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp b/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp index 1cc529b4227..dcdc7cd3bc2 100644 --- a/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp +++ b/GraphicsView/demo/Segment_Delaunay_graph_2/Segment_voronoi_2.cpp @@ -300,7 +300,7 @@ MainWindow::loadEdgConstraints(QString fileName) int n; ifs >> n; - K::Point_2 p,q, qold; + K::Point_2 p,q, qold(0,0); // Initialize qold, as otherwise some g++ issue a unjustified warning SVD::Vertex_handle vp, vq, vqold; while(ifs >> p) {