mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r10483: fixed some uninitialised variables warnings
(This used to be commit 315653cf1e
)
This commit is contained in:
parent
b0de111292
commit
6e99b959de
@ -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
|
||||
|
@ -734,7 +734,7 @@ static int transaction_setup_recovery(struct tdb_context *tdb,
|
||||
int tdb_transaction_commit(struct tdb_context *tdb)
|
||||
{
|
||||
const struct tdb_methods *methods;
|
||||
tdb_off_t magic_offset;
|
||||
tdb_off_t magic_offset = 0;
|
||||
u32 zero = 0;
|
||||
|
||||
if (tdb->transaction == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user