bpo-44047: Remove unused argument to _pysqlite_seterror (GH-25915)

This commit is contained in:
Erlend Egeberg Aasland 2021-05-07 15:15:01 +02:00 committed by GitHub
parent a0cb2e4302
commit 0988ed09b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 22 deletions

View file

@ -39,7 +39,8 @@ int pysqlite_step(sqlite3_stmt* statement, pysqlite_Connection* connection)
* Checks the SQLite error code and sets the appropriate DB-API exception.
* Returns the error code (0 means no error occurred).
*/
int _pysqlite_seterror(sqlite3* db, sqlite3_stmt* st)
int
_pysqlite_seterror(sqlite3 *db)
{
int errorcode = sqlite3_errcode(db);