diff --git a/include/xtensor-python/xtensor_type_caster_base.hpp b/include/xtensor-python/xtensor_type_caster_base.hpp index 5874595..840e28c 100644 --- a/include/xtensor-python/xtensor_type_caster_base.hpp +++ b/include/xtensor-python/xtensor_type_caster_base.hpp @@ -107,7 +107,7 @@ namespace pybind11 struct pybind_array_dim_checker { template - static bool run(const B& buf) + static bool run(const B& /*buf*/) { return true; } @@ -138,7 +138,7 @@ namespace pybind11 struct pybind_array_shape_checker { template - static bool run(const B& buf) + static bool run(const B& /*buf*/) { return true; }