Fix compilation of the _sqlite module if threads are disabled

This commit is contained in:
Victor Stinner 2013-08-28 01:44:42 +02:00
parent 9594942716
commit b84fc0fd9f

View file

@ -715,6 +715,9 @@ void _pysqlite_final_callback(sqlite3_context* context)
#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)