[Python-checkins] r42891 - python/trunk/Modules/_bsddb.c

thomas.wouters python-checkins at python.org
Tue Mar 7 15:14:51 CET 2006


Author: thomas.wouters
Date: Tue Mar  7 15:14:51 2006
New Revision: 42891

Modified:
   python/trunk/Modules/_bsddb.c
Log:

Fix gcc 4.0.x warning about use of uninitialized value.



Modified: python/trunk/Modules/_bsddb.c
==============================================================================
--- python/trunk/Modules/_bsddb.c	(original)
+++ python/trunk/Modules/_bsddb.c	Tue Mar  7 15:14:51 2006
@@ -1070,7 +1070,7 @@
     PyObject* key;
     PyObject* data;
     PyObject* args;
-    PyObject* result;
+    PyObject* result = NULL;
 
 
     if (callback != NULL) {


More information about the Python-checkins mailing list