Issue #28480: Avoid label at end of compound statement --without-threads
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index e62e4d9..237d6e4 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -790,6 +790,7 @@
     }
 
 error:
+    ;  /* necessary for --without-threads flag */
 #ifdef WITH_THREAD
     PyGILState_Release(threadstate);
 #endif