mirror of
https://github.com/python/cpython.git
synced 2025-07-12 05:45:15 +00:00
bpo-44047: Remove unused argument to _pysqlite_seterror (GH-25915)
This commit is contained in:
parent
a0cb2e4302
commit
0988ed09b4
4 changed files with 23 additions and 22 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue