diff --git a/include/boost/geometry/geometries/concepts/point_concept.hpp b/include/boost/geometry/geometries/concepts/point_concept.hpp index db4977112..52f8d038e 100644 --- a/include/boost/geometry/geometries/concepts/point_concept.hpp +++ b/include/boost/geometry/geometries/concepts/point_concept.hpp @@ -165,7 +165,7 @@ class ConstPoint { const P* p = 0; ctype coord(geometry::get(*p)); - boost::ignore_unused(coord); + boost::ignore_unused(p, coord); dimension_checker::apply(); } };