summaryrefslogtreecommitdiff
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-05-03 14:21:56 -0600
committerGitHub <noreply@github.com>2022-05-03 22:21:56 +0200
commitd9ec55319422cf2ba8495b2b7859749d3d742291 (patch)
tree3062de7ebe56e734d0b455a8cebb83b289428662 /Modules/_sqlite
parent3e6019cee5230456653083dbc6359115f1599867 (diff)
downloadcpython-git-d9ec55319422cf2ba8495b2b7859749d3d742291.tar.gz
gh-89289: Fix compiler warning in _sqlite/connection.c (#92258)
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 793bc0b6ae..333847f0fa 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -289,7 +289,7 @@ error:
// 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;
}