bpo-30854: Fix compile error when --without-threads (#2581)

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

* bpo-30854: fix news
This commit is contained in:
Masayuki Yamamoto 2017-07-05 17:39:17 +09:00 committed by Victor Stinner
parent aaa917ff38
commit 0c31163093
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

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