From dd0670f12b159eff5336d6011f046e1ccac495e1 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 5 Oct 2018 12:15:36 -0700 Subject: Fix a compiler warning added in bpo-34872. (GH-9722). (GH-9726) (GH-9728) (cherry picked from commit addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3) (cherry picked from commit d9212200fe8ddb55d73b8231869cfbb32635ba92) --- Modules/_asynciomodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index cbd6fe3..2a6c16d 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -2122,7 +2122,7 @@ set_exception: if (task->task_must_cancel) { PyObject *r; int is_true; - r = _PyObject_CallMethodId(fut, &PyId_cancel, NULL); + r = _PyObject_CallMethodId(result, &PyId_cancel, NULL); if (r == NULL) { return NULL; } -- cgit v0.12