summaryrefslogtreecommitdiffstats
path: root/Modules/_asynciomodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-09-30 14:41:34 (GMT)
committerGitHub <noreply@github.com>2019-09-30 14:41:34 (GMT)
commitefe74b6369a8d08f27c69703fcc1686966e51068 (patch)
treea4bf0633c373f5cc0d451bda152b4605dd851a05 /Modules/_asynciomodule.c
parentdec39716ca93ee2e8d9b94915ece33014eb58e9e (diff)
downloadcpython-efe74b6369a8d08f27c69703fcc1686966e51068.zip
cpython-efe74b6369a8d08f27c69703fcc1686966e51068.tar.gz
cpython-efe74b6369a8d08f27c69703fcc1686966e51068.tar.bz2
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.
Diffstat (limited to 'Modules/_asynciomodule.c')
-rw-r--r--Modules/_asynciomodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index 8ee0d7a..b67afd4 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);