Commit c8f7a6c5 authored by Victor Stinner's avatar Victor Stinner

Fix compilation of the _sqlite module if threads are disabled

parent 13689b54
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment