- Remove warning.

This commit is contained in:
Sylvain Pion 2006-03-26 21:00:34 +00:00
parent 417891f528
commit a302f59f26
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
//
//
// Author(s) : ?
#ifndef CGAL_INTERSECTION_OBJECTS_D_H
#define CGAL_INTERSECTION_OBJECTS_D_H
@ -572,7 +573,7 @@ Ray_d_Hyperplane_d_pair<R>::intersection_type()
// CGAL_assertion( !_r.is_degenerate() );
typedef typename R::Line_hyperplane_intersection_d Int_obj_type;
Int_obj_type Intersect;
FT lambda;
FT lambda = 0; // initialize to stop compiler warning
typename Int_obj_type::Intersection_result res =
Intersect(_r.point(0),_r.point(1),_h,_ip,lambda);