We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d346aa0 commit a856d97Copy full SHA for a856d97
include/pybind11/pybind11.h
@@ -1300,6 +1300,7 @@ inline bool gil_not_used_option(F &&, O &&...o) {
1300
inline void *multi_interp_slot() { return Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED; }
1301
template <typename... O>
1302
inline void *multi_interp_slot(multiple_interpreters mi, O &&...o) {
1303
+ (void) o...;
1304
if (mi.value() == multiple_interpreters::per_interpreter_gil) {
1305
return Py_MOD_PER_INTERPRETER_GIL_SUPPORTED;
1306
} else if (mi.value() == multiple_interpreters::shared_gil) {
0 commit comments