From 38d335b2a1bdd2a441e958da9068d2fa08da7272 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Thu, 20 Oct 2016 03:56:48 +0000 Subject: Issue #28480: Avoid label at end of compound statement --without-threads --- Misc/NEWS | 3 +++ Modules/_sqlite/connection.c | 1 + 2 files changed, 4 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index ba5ad65..6cf59a3 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 e62e4d9..237d6e4 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 -- cgit v0.12