Skip to content

Commit 7cb644a

Browse files
authored
ignore unused parameter 'buf' warning (#283)
1 parent 875c57f commit 7cb644a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/xtensor-python/xtensor_type_caster_base.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace pybind11
107107
struct pybind_array_dim_checker
108108
{
109109
template <class B>
110-
static bool run(const B& buf)
110+
static bool run(const B& /*buf*/)
111111
{
112112
return true;
113113
}
@@ -138,7 +138,7 @@ namespace pybind11
138138
struct pybind_array_shape_checker
139139
{
140140
template <class B>
141-
static bool run(const B& buf)
141+
static bool run(const B& /*buf*/)
142142
{
143143
return true;
144144
}

0 commit comments

Comments
 (0)