diff options
| author | Brett Cannon <bcannon@gmail.com> | 2011-02-22 20:15:44 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2011-02-22 20:15:44 (GMT) |
| commit | b94767ff44edf5d461d7cb1c8eb5160f83886358 (patch) | |
| tree | b43b482e765b0383b3326779f6815e72b2bacccb /Modules/_sqlite/connection.c | |
| parent | 79da6b7075a3d51ae042e77a2afca827e7bce435 (diff) | |
| download | cpython-b94767ff44edf5d461d7cb1c8eb5160f83886358.zip cpython-b94767ff44edf5d461d7cb1c8eb5160f83886358.tar.gz cpython-b94767ff44edf5d461d7cb1c8eb5160f83886358.tar.bz2 | |
Issue #8914: fix various warnings from the Clang static analyzer v254.
Diffstat (limited to 'Modules/_sqlite/connection.c')
| -rw-r--r-- | Modules/_sqlite/connection.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index e4969e3..4bc16c3 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c @@ -673,7 +673,6 @@ void _pysqlite_final_callback(sqlite3_context* context) { PyObject* function_result = NULL; PyObject** aggregate_instance; - PyObject* aggregate_class; #ifdef WITH_THREAD PyGILState_STATE threadstate; @@ -681,8 +680,6 @@ void _pysqlite_final_callback(sqlite3_context* context) threadstate = PyGILState_Ensure(); #endif - aggregate_class = (PyObject*)sqlite3_user_data(context); - aggregate_instance = (PyObject**)sqlite3_aggregate_context(context, sizeof(PyObject*)); if (!*aggregate_instance) { /* this branch is executed if there was an exception in the aggregate's |
