Skip to content

Commit 92897fe

Browse files
committed
Fix unused parameter
1 parent d346aa0 commit 92897fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pybind11.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ inline void *multi_interp_slot(multiple_interpreters mi, O &&...o) {
13051305
} else if (mi.value() == multiple_interpreters::shared_gil) {
13061306
return Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED;
13071307
} else {
1308-
return Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED;
1308+
return multi_interp_slot(o...);
13091309
}
13101310
}
13111311
template <typename F, typename... O>

0 commit comments

Comments
 (0)