From 088beae1f2b99e4dea44fe3f6630f22f5f49b013 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 12 Oct 2007 03:01:54 +0000 Subject: Get rid of compiler warning about retval being used (returned) without being initialized. (gcc warning and Coverity 202) --- Modules/_bsddb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index bc70cc3..11e0201 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -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 -- cgit v0.12