Commit a5fa2a8a authored by Thomas Wouters's avatar Thomas Wouters

Fix gcc (4.0.x) warning about use of uninitialized variable.

parent 49c5da1d
...@@ -97,6 +97,7 @@ dbm_length(dbmobject *dp) ...@@ -97,6 +97,7 @@ dbm_length(dbmobject *dp)
datum key,okey; datum key,okey;
int size; int size;
okey.dsize=0; okey.dsize=0;
okey.dptr=NULL;
size = 0; size = 0;
for (key=gdbm_firstkey(dp->di_dbm); key.dptr; for (key=gdbm_firstkey(dp->di_dbm); key.dptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment