mirror of https://github.com/CGAL/cgal
WARNFIX
Fix the unused parameter Q2 of function intersection_test_edge() in <CGAL/Triangle_2_Triangle_2_do_intersect.h>. Fix also a set-by-unused variable in <CGAL/Intersections_2/Triangle_2_Triangle_2_intersection_impl.h>.
This commit is contained in:
parent
640c7355ec
commit
2cec4e33c3
|
|
@ -120,8 +120,8 @@ void _cut_off(Pointlist_2_<K> &list,
|
|||
last->next = newrec;
|
||||
newrec->side = ON_ORIENTED_BOUNDARY;
|
||||
Line_2_Line_2_pair<K> linepair(&cutter, &l);
|
||||
typename Line_2_Line_2_pair<K>::Intersection_results isr;
|
||||
isr = linepair.intersection_type();
|
||||
CGAL_kernel_assertion_code(typename Line_2_Line_2_pair<K>::Intersection_results isr =)
|
||||
linepair.intersection_type();
|
||||
CGAL_kernel_assertion(isr == Line_2_Line_2_pair<K>::POINT);
|
||||
newrec->point = linepair.intersection_point();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,8 @@ bool intersection_test_edge(const typename K::Point_2 * P1,
|
|||
const typename K::Point_2 * Q1,
|
||||
const typename K::Point_2 * R1,
|
||||
const typename K::Point_2 * P2,
|
||||
const typename K::Point_2 * Q2,
|
||||
const typename K::Point_2 *
|
||||
CGAL_kernel_precondition_code(Q2),
|
||||
const typename K::Point_2 * R2,
|
||||
const K & k ){
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue