From: Erlend Egeberg Aasland Date: Tue, 3 May 2022 20:21:56 +0000 (-0600) Subject: gh-89289: Fix compiler warning in _sqlite/connection.c (#92258) X-Git-Tag: v3.11.0b1~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9ec55319422cf2ba8495b2b7859749d3d742291;p=thirdparty%2FPython%2Fcpython.git gh-89289: Fix compiler warning in _sqlite/connection.c (#92258) --- diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index 793bc0b6aef0..333847f0fafb 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; }