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);