diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-09-24 23:52:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:53 -0500 |
commit | 6e99b959dedcd8da444fca04832011ffa744b619 (patch) | |
tree | d8ae04bc45c7a8c22d56a0fdb7282997315532a0 /source4/lib/tdb/common/freelist.c | |
parent | b0de111292c3c013fd557900bc517ad45c632ae7 (diff) | |
download | samba-6e99b959dedcd8da444fca04832011ffa744b619.tar.gz samba-6e99b959dedcd8da444fca04832011ffa744b619.tar.bz2 samba-6e99b959dedcd8da444fca04832011ffa744b619.zip |
r10483: fixed some uninitialised variables warnings
(This used to be commit 315653cf1ecc11c435ee35b20e6cf9c73a67fa68)
Diffstat (limited to 'source4/lib/tdb/common/freelist.c')
-rw-r--r-- | source4/lib/tdb/common/freelist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/tdb/common/freelist.c b/source4/lib/tdb/common/freelist.c index 9707295ec3..3483751164 100644 --- a/source4/lib/tdb/common/freelist.c +++ b/source4/lib/tdb/common/freelist.c @@ -277,6 +277,8 @@ tdb_off_t tdb_allocate(struct tdb_context *tdb, tdb_len_t length, struct list_st goto fail; bestfit.rec_ptr = 0; + bestfit.last_ptr = 0; + bestfit.rec_len = 0; /* this is a best fit allocation strategy. Originally we used |