From e4eede4915d31986bee30dad663b34c9f1d7a50b Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 16 Jul 2015 17:26:46 +0200 Subject: [PATCH] use assertion_code to avoid a clang warning --- Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h b/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h index 0a5d8baa050..8d634d3d607 100644 --- a/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h +++ b/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h @@ -205,7 +205,7 @@ template OutputIterator operator()(ForwardIterator first, ForwardIterator last, const Point_d& p, OutputIterator result) { TUPLE_DIM_CHECK(first,last,Barycentric_coordinates_d); - int d = p.dimension(); + CGAL_assertion_code( int d = p.dimension(); ) typename R::Affine_rank_d affine_rank; CGAL_assertion(affine_rank(first,last)==d); typename LA::Matrix M(first,last);