diff options
author | Thomas Wouters <thomas@python.org> | 2006-03-01 22:54:36 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-03-01 22:54:36 (GMT) |
commit | a5fa2a8a133f28fe0afa04970d4aaa5af9e09ca2 (patch) | |
tree | 8df47d9f701adfd43f8671885c57be44b877feed /Modules/gdbmmodule.c | |
parent | 49c5da1d88f605248167f4d95b1dfe08c1f703c7 (diff) | |
download | cpython-a5fa2a8a133f28fe0afa04970d4aaa5af9e09ca2.zip cpython-a5fa2a8a133f28fe0afa04970d4aaa5af9e09ca2.tar.gz cpython-a5fa2a8a133f28fe0afa04970d4aaa5af9e09ca2.tar.bz2 |
Fix gcc (4.0.x) warning about use of uninitialized variable.
Diffstat (limited to 'Modules/gdbmmodule.c')
-rw-r--r-- | Modules/gdbmmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/gdbmmodule.c b/Modules/gdbmmodule.c index 025bdb7..76d54f8 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; |