mirror of https://github.com/python/cpython
Fix gcc (4.0.x) warning about use of uninitialized variable.
This commit is contained in:
parent
49c5da1d88
commit
a5fa2a8a13
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue