Get rid of compiler warning about retval being used (returned) without

being initialized.  (gcc warning and Coverity 202)
This commit is contained in:
Neal Norwitz 2007-10-12 03:01:54 +00:00
parent c740d834ee
commit 088beae1f2

View file

@ -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