Skip to content

Commit

Permalink
ignore unused parameter 'buf' warning (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban authored Mar 10, 2023
1 parent 875c57f commit 7cb644a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/xtensor-python/xtensor_type_caster_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace pybind11
struct pybind_array_dim_checker
{
template <class B>
static bool run(const B& buf)
static bool run(const B& /*buf*/)
{
return true;
}
Expand Down Expand Up @@ -138,7 +138,7 @@ namespace pybind11
struct pybind_array_shape_checker
{
template <class B>
static bool run(const B& buf)
static bool run(const B& /*buf*/)
{
return true;
}
Expand Down

0 comments on commit 7cb644a

Please sign in to comment.