Commit 88e09f28 authored by Stefan Behnel's avatar Stefan Behnel

Cover a static struct value by a preprocessor guard to prevent an "unused" warning.

parent 5f7ebe56
...@@ -558,11 +558,13 @@ static PyMethodDef __Pyx_async_gen_asend_methods[] = { ...@@ -558,11 +558,13 @@ static PyMethodDef __Pyx_async_gen_asend_methods[] = {
}; };
#if CYTHON_USE_ASYNC_SLOTS
static __Pyx_PyAsyncMethodsStruct __Pyx_async_gen_asend_as_async = { static __Pyx_PyAsyncMethodsStruct __Pyx_async_gen_asend_as_async = {
PyObject_SelfIter, /* am_await */ PyObject_SelfIter, /* am_await */
0, /* am_aiter */ 0, /* am_aiter */
0 /* am_anext */ 0 /* am_anext */
}; };
#endif
static PyTypeObject __pyx__PyAsyncGenASendType_type = { static PyTypeObject __pyx__PyAsyncGenASendType_type = {
......
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