Skip to content

Commit d9ec553

Browse files
gh-89289: Fix compiler warning in _sqlite/connection.c (#92258)
1 parent 3e6019c commit d9ec553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_sqlite/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ pysqlite_connection_init_impl(pysqlite_Connection *self,
289289
// There are no statements or other SQLite objects attached to the
290290
// database, so sqlite3_close() should always return SQLITE_OK.
291291
rc = sqlite3_close(db);
292-
assert(rc == SQLITE_OK), rc;
292+
assert(rc == SQLITE_OK);
293293
return -1;
294294
}
295295

0 commit comments

Comments
 (0)