From 767bc40b1d2840bad5d370acad661615147b811c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 3 Mar 2011 18:20:41 +0000 Subject: [PATCH] remove warnings --- .../include/CGAL/Box_intersection_d/segment_tree.h | 2 +- Nef_3/include/CGAL/OFF_to_nef_3.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Box_intersection_d/include/CGAL/Box_intersection_d/segment_tree.h b/Box_intersection_d/include/CGAL/Box_intersection_d/segment_tree.h index 197df9717f0..71d78ee00df 100644 --- a/Box_intersection_d/include/CGAL/Box_intersection_d/segment_tree.h +++ b/Box_intersection_d/include/CGAL/Box_intersection_d/segment_tree.h @@ -226,7 +226,7 @@ class Iterative_radon { public: Iterative_radon( RandomAccessIter begin, RandomAccessIter end, - Predicate_traits traits, int dim, int num_levels ) + Predicate_traits traits, int dim, int /*num_levels*/ ) : begin(begin), size(end-begin), traits(traits), dim(dim), rng(), dist(0,size-1), generator(rng,dist) {} diff --git a/Nef_3/include/CGAL/OFF_to_nef_3.h b/Nef_3/include/CGAL/OFF_to_nef_3.h index 98d975519b1..7ed12eb391c 100644 --- a/Nef_3/include/CGAL/OFF_to_nef_3.h +++ b/Nef_3/include/CGAL/OFF_to_nef_3.h @@ -175,7 +175,7 @@ OFF_to_nef_3 (std::istream &i_st, Nef_3 &nef_union, bool verb=false) Scan_index_it ind_it = f_it->begin(); for (jdx=0; ind_it != f_it->end(); ++ind_it, ++jdx) { // assertion: index out of range? - CGAL_assertion ( 0 <= *ind_it && *ind_it < NOV ); + CGAL_assertion (*ind_it < NOV ); V_f_scan.push_back (V_scan[*ind_it]); V_f.push_back (V[*ind_it]); }