Skip to content

Commit a856d97

Browse files
committed
Fix unused parameter
1 parent d346aa0 commit a856d97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/pybind11.h

+1
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,7 @@ inline bool gil_not_used_option(F &&, O &&...o) {
13001300
inline void *multi_interp_slot() { return Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED; }
13011301
template <typename... O>
13021302
inline void *multi_interp_slot(multiple_interpreters mi, O &&...o) {
1303+
(void) o...;
13031304
if (mi.value() == multiple_interpreters::per_interpreter_gil) {
13041305
return Py_MOD_PER_INTERPRETER_GIL_SUPPORTED;
13051306
} else if (mi.value() == multiple_interpreters::shared_gil) {

0 commit comments

Comments
 (0)