From 811daa2ad435e047df5a5eb5846b1bfd8fa1dfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Fri, 22 Jun 2012 10:05:26 +0000 Subject: [PATCH] Silence unused parameter warnings when building. --- Algebraic_foundations/include/CGAL/Scalar_factor_traits.h | 4 ++-- Core/include/CGAL/CORE/poly/Sturm.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Algebraic_foundations/include/CGAL/Scalar_factor_traits.h b/Algebraic_foundations/include/CGAL/Scalar_factor_traits.h index 39055e66dd0..e1182918432 100644 --- a/Algebraic_foundations/include/CGAL/Scalar_factor_traits.h +++ b/Algebraic_foundations/include/CGAL/Scalar_factor_traits.h @@ -60,8 +60,8 @@ public: static Scalar scalar_factor(const NT& a, Field_tag) { return (a == NT(0)) ? NT(0) : NT(1); } - static Scalar scalar_factor(const NT& a, - const Scalar& d, + static Scalar scalar_factor(const NT& /* a */, + const Scalar& /* d */, Integral_domain_tag) { return Scalar(1); } diff --git a/Core/include/CGAL/CORE/poly/Sturm.h b/Core/include/CGAL/CORE/poly/Sturm.h index 5459543139e..8332d67a514 100644 --- a/Core/include/CGAL/CORE/poly/Sturm.h +++ b/Core/include/CGAL/CORE/poly/Sturm.h @@ -125,7 +125,7 @@ public: // various support methods in BigFloat.h (exact_div, gcd, etc). // Constructor from a BigFloat polynomial // Need the fake argument to avoid compiler overloading errors - Sturm(Polynomial pp, bool fake) : NEWTON_DIV_BY_ZERO(false) { + Sturm(Polynomial pp, bool /* fake */) : NEWTON_DIV_BY_ZERO(false) { len = pp.getTrueDegree(); if (len <= 0) return; // hence, seq is not defined in these cases seq = new Polynomial [len+1];