From: Victor Stinner Date: Mon, 30 Sep 2019 14:41:34 +0000 (+0200) Subject: bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efe74b6369a8d08f27c69703fcc1686966e51068;p=python bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493) bpo-38248, bpo-38321: Fix warning: modules\_asynciomodule.c(2667): warning C4102: 'set_exception': unreferenced label The related goto has been removed by commit edad4d89e357c92f70c0324b937845d652b20afd. --- diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index 8ee0d7a7e1..b67afd4176 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -2657,7 +2657,6 @@ task_step_impl(TaskObj *task, PyObject *exc) /* Some other exception; pop it and call Task.set_exception() */ PyErr_Fetch(&et, &ev, &tb); -set_exception: assert(et); if (!ev || !PyObject_TypeCheck(ev, (PyTypeObject *) et)) { PyErr_NormalizeException(&et, &ev, &tb);