]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-89289: Fix compiler warning in _sqlite/connection.c (#92258)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Tue, 3 May 2022 20:21:56 +0000 (14:21 -0600)
committerGitHub <noreply@github.com>
Tue, 3 May 2022 20:21:56 +0000 (22:21 +0200)
Modules/_sqlite/connection.c

index 793bc0b6aef0dbfad432d2289f338ab4222a4857..333847f0fafb963048deba1474082ee860e3ddf8 100644 (file)
@@ -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;
 }