Commit 5f2a908f authored by Stefan Behnel's avatar Stefan Behnel

Try to fix MSVC warning "C4551: function call missing argument list".

Closes #3579.
parent c5b25ce1
...@@ -1132,7 +1132,7 @@ static PyObject *__Pyx_InitSubclassPEP487(PyObject *type_obj, PyObject *mkw) { ...@@ -1132,7 +1132,7 @@ static PyObject *__Pyx_InitSubclassPEP487(PyObject *type_obj, PyObject *mkw) {
if (unlikely(!mro)) goto done; if (unlikely(!mro)) goto done;
// avoid "unused" warning // avoid "unused" warning
(void) __Pyx_GetBuiltinName; (void) &__Pyx_GetBuiltinName;
Py_INCREF(mro); Py_INCREF(mro);
nbases = PyTuple_GET_SIZE(mro); nbases = PyTuple_GET_SIZE(mro);
...@@ -1183,7 +1183,7 @@ bad: ...@@ -1183,7 +1183,7 @@ bad:
#else #else
super_type = (PyObject*) &PySuper_Type; super_type = (PyObject*) &PySuper_Type;
// avoid "unused" warning // avoid "unused" warning
(void) __Pyx_GetBuiltinName; (void) &__Pyx_GetBuiltinName;
#endif #endif
super = likely(super_type) ? __Pyx_PyObject_Call2Args(super_type, type_obj, type_obj) : NULL; super = likely(super_type) ? __Pyx_PyObject_Call2Args(super_type, type_obj, type_obj) : NULL;
#if CYTHON_COMPILING_IN_PYPY && !defined(PySuper_Type) #if CYTHON_COMPILING_IN_PYPY && !defined(PySuper_Type)
...@@ -1257,7 +1257,7 @@ static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObj ...@@ -1257,7 +1257,7 @@ static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObj
} }
#else #else
// avoid "unused" warning // avoid "unused" warning
(void) __Pyx_GetBuiltinName; (void) &__Pyx_GetBuiltinName;
#endif #endif
return result; return result;
} }
......
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