Commit addf8afb authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

Fix a compiler warning added in bpo-34872. (GH-9722)

parent 4642d5f5
...@@ -2714,7 +2714,7 @@ set_exception: ...@@ -2714,7 +2714,7 @@ set_exception:
if (task->task_must_cancel) { if (task->task_must_cancel) {
PyObject *r; PyObject *r;
int is_true; int is_true;
r = _PyObject_CallMethodId(fut, &PyId_cancel, NULL); r = _PyObject_CallMethodId(result, &PyId_cancel, NULL);
if (r == NULL) { if (r == NULL) {
return NULL; return NULL;
} }
......
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