Commit 227fdb1e authored by Stefan Behnel's avatar Stefan Behnel

Fix some "unused" C compiler warnings.

parent 431d6b7b
......@@ -944,11 +944,13 @@ static PyMethodDef __Pyx_async_gen_athrow_methods[] = {
};
#if CYTHON_USE_ASYNC_SLOTS
static __Pyx_PyAsyncMethodsStruct __Pyx_async_gen_athrow_as_async = {
PyObject_SelfIter, /* am_await */
0, /* am_aiter */
0 /* am_anext */
};
#endif
static PyTypeObject __pyx__PyAsyncGenAThrowType_type = {
......
......@@ -1465,7 +1465,7 @@ static PyObject *__Pyx_Coroutine_await(PyObject *coroutine) {
}
static PyObject *
__Pyx_Coroutine_get_frame(__pyx_CoroutineObject *self)
__Pyx_Coroutine_get_frame(CYTHON_UNUSED __pyx_CoroutineObject *self)
{
// Fake implementation that always returns None, but at least does not raise an AttributeError.
Py_RETURN_NONE;
......
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