Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
227fdb1e
Commit
227fdb1e
authored
7 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some "unused" C compiler warnings.
parent
431d6b7b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Cython/Utility/AsyncGen.c
Cython/Utility/AsyncGen.c
+2
-0
Cython/Utility/Coroutine.c
Cython/Utility/Coroutine.c
+1
-1
No files found.
Cython/Utility/AsyncGen.c
View file @
227fdb1e
...
@@ -944,11 +944,13 @@ static PyMethodDef __Pyx_async_gen_athrow_methods[] = {
...
@@ -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
=
{
static
__Pyx_PyAsyncMethodsStruct
__Pyx_async_gen_athrow_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__PyAsyncGenAThrowType_type
=
{
static
PyTypeObject
__pyx__PyAsyncGenAThrowType_type
=
{
...
...
This diff is collapsed.
Click to expand it.
Cython/Utility/Coroutine.c
View file @
227fdb1e
...
@@ -1465,7 +1465,7 @@ static PyObject *__Pyx_Coroutine_await(PyObject *coroutine) {
...
@@ -1465,7 +1465,7 @@ static PyObject *__Pyx_Coroutine_await(PyObject *coroutine) {
}
}
static
PyObject
*
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.
// Fake implementation that always returns None, but at least does not raise an AttributeError.
Py_RETURN_NONE
;
Py_RETURN_NONE
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment