mirror of https://github.com/python/cpython
Fix compilation of the _sqlite module if threads are disabled
This commit is contained in:
parent
9594942716
commit
b84fc0fd9f
|
@ -715,6 +715,9 @@ error:
|
|||
#ifdef WITH_THREAD
|
||||
PyGILState_Release(threadstate);
|
||||
#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)
|
||||
|
|
Loading…
Reference in New Issue