Skip to content

Commit

Permalink
pythongh-89289: Fix compiler warning in _sqlite/connection.c (python#…
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland committed May 3, 2022
1 parent 3e6019c commit d9ec553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ pysqlite_connection_init_impl(pysqlite_Connection *self,
// There are no statements or other SQLite objects attached to the
// database, so sqlite3_close() should always return SQLITE_OK.
rc = sqlite3_close(db);
assert(rc == SQLITE_OK), rc;
assert(rc == SQLITE_OK);
return -1;
}

Expand Down

0 comments on commit d9ec553

Please sign in to comment.