[3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) (#2583)

* bpo-30854: Fix compile error when --without-threads

* bpo-30854: fix news
(cherry picked from commit 0c31163093)
This commit is contained in:
Masayuki Yamamoto 2017-07-05 18:24:46 +09:00 committed by Victor Stinner
parent 0884c40603
commit e3a0ff0d76
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
Fix compile error when compiling --without-threads.
Patch by Masayuki Yamamoto.

View file

@ -621,7 +621,7 @@ Py_MakePendingCalls(void)
arg = pendingcalls[i].arg;
pendingfirst = (i + 1) % NPENDINGCALLS;
if (func(arg) < 0) {
goto error:
goto error;
}
}
busy = 0;