mirror of https://github.com/CGAL/cgal
Remove unreachable code (pgCC warnings).
This commit is contained in:
parent
049d70ad6f
commit
1f3a9a01ad
|
|
@ -106,8 +106,6 @@ namespace MA_detail {
|
||||||
if (i == d_+1) return -h_p * h_p;
|
if (i == d_+1) return -h_p * h_p;
|
||||||
return nt_0_;
|
return nt_0_;
|
||||||
}
|
}
|
||||||
CGAL_optimisation_assertion(false); // never get here
|
|
||||||
return nt_0_;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,6 @@ are_ordered_along_lineC2( const PT& p, const PT& q, const PT& r,
|
||||||
else
|
else
|
||||||
return( ( ( py < qy) && ( qy < ry))
|
return( ( ( py < qy) && ( qy < ry))
|
||||||
|| ( ( ry < qy) && ( qy < py)));
|
|| ( ( ry < qy) && ( qy < py)));
|
||||||
// keeps g++ happy
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template < class PT_, class DA_ >
|
template < class PT_, class DA_ >
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,6 @@ are_ordered_along_lineH2( const PT& p, const PT& q, const PT& r,
|
||||||
else
|
else
|
||||||
return( ( ( phy*qhw < qhy*phw) && ( qhy*rhw < rhy*qhw))
|
return( ( ( phy*qhw < qhy*phw) && ( qhy*rhw < rhy*qhw))
|
||||||
|| ( ( rhy*qhw < qhy*rhw) && ( qhy*phw < phy*qhw)));
|
|| ( ( rhy*qhw < qhy*rhw) && ( qhy*phw < phy*qhw)));
|
||||||
// keeps g++ happy
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template < class PT_, class DA_ >
|
template < class PT_, class DA_ >
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue