mirror of
https://github.com/python/cpython.git
synced 2025-11-30 14:59:12 +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;
|
int err;
|
||||||
DBT key;
|
DBT key;
|
||||||
PyObject *retval;
|
PyObject *retval = NULL;
|
||||||
key.flags = DB_DBT_MALLOC;
|
key.flags = DB_DBT_MALLOC;
|
||||||
CHECK_SEQUENCE_NOT_CLOSED(self)
|
CHECK_SEQUENCE_NOT_CLOSED(self)
|
||||||
MYDB_BEGIN_ALLOW_THREADS
|
MYDB_BEGIN_ALLOW_THREADS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue