mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Fix a compiler warning added in bpo-34872. (GH-9722)
This commit is contained in:
parent
4642d5f598
commit
addf8afb43
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue