aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Modules/_sqlite/util.c
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-05-07 15:15:01 +0200
committerGitHub <noreply@github.com>2021-05-07 16:15:01 +0300
commit0988ed09b4c058fabb58a7ea7e757adafcf8763c (patch)
tree64586bb167b52f0612a7d2202bf4d477aec3505a /Modules/_sqlite/util.c
parenta0cb2e43029170fadb917ef3d9fc22c5e2e4e34b (diff)
downloadcpython-0988ed09b4c058fabb58a7ea7e757adafcf8763c.tar.gz
cpython-0988ed09b4c058fabb58a7ea7e757adafcf8763c.zip
bpo-44047: Remove unused argument to _pysqlite_seterror (GH-25915)
Diffstat (limited to 'Modules/_sqlite/util.c')
-rw-r--r--Modules/_sqlite/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_sqlite/util.c b/Modules/_sqlite/util.c
index 0f4eba0ab31..3676935b9e9 100644
--- a/Modules/_sqlite/util.c
+++ b/Modules/_sqlite/util.c
@@ -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);