Remove unreachable code (pgCC warnings).

This commit is contained in:
Sylvain Pion 2008-01-20 14:48:37 +00:00
parent 049d70ad6f
commit 1f3a9a01ad
3 changed files with 0 additions and 6 deletions

View File

@ -106,8 +106,6 @@ namespace MA_detail {
if (i == d_+1) return -h_p * h_p;
return nt_0_;
}
CGAL_optimisation_assertion(false); // never get here
return nt_0_;
}
private:

View File

@ -68,8 +68,6 @@ are_ordered_along_lineC2( const PT& p, const PT& q, const PT& r,
else
return( ( ( py < qy) && ( qy < ry))
|| ( ( ry < qy) && ( qy < py)));
// keeps g++ happy
return false;
}
template < class PT_, class DA_ >

View File

@ -72,8 +72,6 @@ are_ordered_along_lineH2( const PT& p, const PT& q, const PT& r,
else
return( ( ( phy*qhw < qhy*phw) && ( qhy*rhw < rhy*qhw))
|| ( ( rhy*qhw < qhy*rhw) && ( qhy*phw < phy*qhw)));
// keeps g++ happy
return false;
}
template < class PT_, class DA_ >