From 89ba38152d5dc50f7d4609a366e585cdca22dfff Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Tue, 7 Mar 2006 14:14:51 +0000 Subject: [PATCH] Fix gcc 4.0.x warning about use of uninitialized value. --- Modules/_bsddb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index f938ff044cb..9654cf3ffe6 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -1070,7 +1070,7 @@ _db_associateCallback(DB* db, const DBT* priKey, const DBT* priData, PyObject* key; PyObject* data; PyObject* args; - PyObject* result; + PyObject* result = NULL; if (callback != NULL) {