mirror of https://github.com/CGAL/cgal
remove warning
This commit is contained in:
parent
6bf0219e18
commit
3bebf1b352
|
|
@ -526,7 +526,7 @@ intersection(const typename CGAL_WRAP(K)::Ray_3 &ray,
|
||||||
typedef typename K::RT RT;
|
typedef typename K::RT RT;
|
||||||
typedef typename K::FT FT;
|
typedef typename K::FT FT;
|
||||||
bool all_values = true;
|
bool all_values = true;
|
||||||
FT _min = 0, _max;
|
FT _min = 0, _max = 0; // initialization to prevent compiler warning
|
||||||
Point_3 const & _ref_point=ray.source();
|
Point_3 const & _ref_point=ray.source();
|
||||||
Vector_3 const & _dir=ray.direction().vector();
|
Vector_3 const & _dir=ray.direction().vector();
|
||||||
Point_3 const & _iso_min=(box.min)();
|
Point_3 const & _iso_min=(box.min)();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue