From a302f59f26584501702afca7913fdd4a66eeae6c Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Sun, 26 Mar 2006 21:00:34 +0000 Subject: [PATCH] - Remove warning. --- Kernel_d/include/CGAL/Kernel_d/intersection_objects_d.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Kernel_d/include/CGAL/Kernel_d/intersection_objects_d.h b/Kernel_d/include/CGAL/Kernel_d/intersection_objects_d.h index 77813154500..8903743ab26 100644 --- a/Kernel_d/include/CGAL/Kernel_d/intersection_objects_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/intersection_objects_d.h @@ -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::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);