summaryrefslogtreecommitdiff
path: root/Cython/Utility/CommonStructures.c
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Utility/CommonStructures.c')
-rw-r--r--Cython/Utility/CommonStructures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/CommonStructures.c b/Cython/Utility/CommonStructures.c
index 5449e6902..f39f3d70d 100644
--- a/Cython/Utility/CommonStructures.c
+++ b/Cython/Utility/CommonStructures.c
@@ -121,7 +121,7 @@ static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyObject *module, PyType_Spec
if (!PyErr_ExceptionMatches(PyExc_AttributeError)) goto bad;
PyErr_Clear();
// We pass the ABI module reference to avoid keeping the user module alive by foreign type usages.
- (void) module;
+ CYTHON_UNUSED_VAR(module);
cached_type = __Pyx_PyType_FromModuleAndSpec(abi_module, spec, bases);
if (unlikely(!cached_type)) goto bad;
if (unlikely(__Pyx_fix_up_extension_type_from_spec(spec, (PyTypeObject *) cached_type) < 0)) goto bad;