From 2c8825f7849f01c2472f2c34d4e97b9620c3919a Mon Sep 17 00:00:00 2001
From: Pierre Fernbach <pierre.fernbach@laas.fr>
Date: Wed, 2 Oct 2019 15:36:53 +0200
Subject: [PATCH] fix compilation warnings

---
 include/curves/curve_abc.h | 2 +-
 python/curves_python.cpp   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/curves/curve_abc.h b/include/curves/curve_abc.h
index 3bd846c..a765b28 100644
--- a/include/curves/curve_abc.h
+++ b/include/curves/curve_abc.h
@@ -65,7 +65,7 @@ struct curve_abc : std::unary_function<Time, Point>, public serialization::Seria
   // Serialization of the class
   friend class boost::serialization::access;
   template <class Archive>
-  void serialize(Archive& ar, const unsigned int version) {
+  void serialize(Archive& /*ar*/, const unsigned int version) {
     if (version) {
       // Do something depending on version ?
     }
diff --git a/python/curves_python.cpp b/python/curves_python.cpp
index 46a0396..d023162 100644
--- a/python/curves_python.cpp
+++ b/python/curves_python.cpp
@@ -538,6 +538,7 @@ namespace curves
       .def("__call__", &bernstein_t::operator())
     ;
     /** END bernstein polynomial**/
+
     /** BEGIN curves conversion**/
     def("polynomial_from_bezier", polynomial_from_curve<polynomial_t,bezier_t>);
     def("polynomial_from_hermite", polynomial_from_curve<polynomial_t,cubic_hermite_spline_t>);
-- 
GitLab