mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Get rid of compiler warning about retval being used (returned) without
being initialized. (gcc warning and Coverity 202)
This commit is contained in:
parent
c740d834ee
commit
088beae1f2
1 changed files with 1 additions and 1 deletions
|
|
@ -4765,7 +4765,7 @@ DBSequence_get_key(DBSequenceObject* self, PyObject* args)
|
|||
{
|
||||
int err;
|
||||
DBT key;
|
||||
PyObject *retval;
|
||||
PyObject *retval = NULL;
|
||||
key.flags = DB_DBT_MALLOC;
|
||||
CHECK_SEQUENCE_NOT_CLOSED(self)
|
||||
MYDB_BEGIN_ALLOW_THREADS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue