Commit 4d58aecb authored by Stefan Behnel's avatar Stefan Behnel

silence C compiler warning about unused argument

parent 937c1dac
......@@ -594,7 +594,7 @@ static int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const ch
return result;
}
static PyObject* ${pymodule_create_func_cname}(PyObject *spec, PyModuleDef *def) {
static PyObject* ${pymodule_create_func_cname}(PyObject *spec, CYTHON_UNUSED PyModuleDef *def) {
PyObject *module = NULL, *moddict, *modname;
modname = PyObject_GetAttrString(spec, "name");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment