Merge pull request #6298 from afabri/Triangulation_2-quiet_warning-GF

Triangulation_2: Quiet a warning
This commit is contained in:
Laurent Rineau 2022-02-18 15:21:38 +01:00
commit 4ba68e654f
1 changed files with 2 additions and 1 deletions

View File

@ -1186,7 +1186,8 @@ intersect(Face_handle f, int i,
<< " , #" << vd->time_stamp() << "= " << vd->point()
<< " , Exact_intersections_tag)\n";
#endif // CGAL_CDT_2_DEBUG_INTERSECTIONS
Point pi;
Point pi(ORIGIN); // initialize although we are sure that it will be
// set by the intersection, but to quiet a warning
Intersection_tag itag = Intersection_tag();
CGAL_triangulation_assertion_code( bool ok = )
intersection(geom_traits(), pa, pb, pc, pd, pi, itag );