From a5fa2a8a133f28fe0afa04970d4aaa5af9e09ca2 Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Wed, 1 Mar 2006 22:54:36 +0000 Subject: [PATCH] Fix gcc (4.0.x) warning about use of uninitialized variable. --- Modules/gdbmmodule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/gdbmmodule.c b/Modules/gdbmmodule.c index 025bdb7dba0..76d54f820b1 100644 --- a/Modules/gdbmmodule.c +++ b/Modules/gdbmmodule.c @@ -97,6 +97,7 @@ dbm_length(dbmobject *dp) datum key,okey; int size; okey.dsize=0; + okey.dptr=NULL; size = 0; for (key=gdbm_firstkey(dp->di_dbm); key.dptr;