]> granicus.if.org Git - python/commitdiff
bpo-38321: Fix _asynciomodule.c compiler warning (GH-16493)
authorVictor Stinner <vstinner@redhat.com>
Mon, 30 Sep 2019 14:41:34 +0000 (16:41 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2019 14:41:34 +0000 (16:41 +0200)
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.

Modules/_asynciomodule.c

index 8ee0d7a7e14c48ff143a807bc5ccae726e7ff85e..b67afd41768fe5c8968d17d3ff9078f803bd5086 100644 (file)
@@ -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);