From: Martin Panter Date: Thu, 20 Oct 2016 03:56:48 +0000 (+0000) Subject: Issue #28480: Avoid label at end of compound statement --without-threads X-Git-Tag: v2.7.13rc1~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38d335b2a1bdd2a441e958da9068d2fa08da7272;p=python Issue #28480: Avoid label at end of compound statement --without-threads --- diff --git a/Misc/NEWS b/Misc/NEWS index ba5ad65970..6cf59a31bc 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -60,6 +60,9 @@ Core and Builtins Library ------- +- Issue #28480: Fix error building _sqlite3 module when multithreading is + disabled. + - Issue #24452: Make webbrowser support Chrome on Mac OS X. - Issue #26293: Fixed writing ZIP files that starts not from the start of the diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index e62e4d9121..237d6e419a 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c @@ -790,6 +790,7 @@ void _pysqlite_final_callback(sqlite3_context* context) } error: + ; /* necessary for --without-threads flag */ #ifdef WITH_THREAD PyGILState_Release(threadstate); #endif