summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-03-07 14:14:51 (GMT)
committerThomas Wouters <thomas@python.org>2006-03-07 14:14:51 (GMT)
commit89ba38152d5dc50f7d4609a366e585cdca22dfff (patch)
tree9b616240db5904ede4aa51e71f7c24575a652d0b
parent098f6943c041f3d6ac42f1eb9b178df3bf43a383 (diff)
downloadcpython-89ba38152d5dc50f7d4609a366e585cdca22dfff.zip
cpython-89ba38152d5dc50f7d4609a366e585cdca22dfff.tar.gz
cpython-89ba38152d5dc50f7d4609a366e585cdca22dfff.tar.bz2
Fix gcc 4.0.x warning about use of uninitialized value.
-rw-r--r--Modules/_bsddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index f938ff0..9654cf3 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) {