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
1 changed files with 3 additions and 0 deletions

View File

@ -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)