mirror of
https://github.com/python/cpython.git
synced 2025-10-15 03:10:29 +00:00
Fix compilation of the _sqlite module if threads are disabled
This commit is contained in:
parent
9594942716
commit
b84fc0fd9f
1 changed files with 3 additions and 0 deletions
|
@ -715,6 +715,9 @@ error:
|
||||||
#ifdef WITH_THREAD
|
#ifdef WITH_THREAD
|
||||||
PyGILState_Release(threadstate);
|
PyGILState_Release(threadstate);
|
||||||
#endif
|
#endif
|
||||||
|
/* explicit return to avoid a compilation error if WITH_THREAD
|
||||||
|
is not defined */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _pysqlite_drop_unused_statement_references(pysqlite_Connection* self)
|
static void _pysqlite_drop_unused_statement_references(pysqlite_Connection* self)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue