mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
ntdb: remove unused local variable.
Reported-by: Matthieu Patou <mat@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Mon Oct 8 04:43:37 CEST 2012 on sn-devel-104
This commit is contained in:
parent
9fc42daf75
commit
899cdc4503
@ -683,7 +683,6 @@ static ntdb_off_t lock_and_alloc(struct ntdb_context *ntdb,
|
|||||||
|
|
||||||
while (off) {
|
while (off) {
|
||||||
const struct ntdb_free_record *r;
|
const struct ntdb_free_record *r;
|
||||||
ntdb_len_t len;
|
|
||||||
ntdb_off_t next;
|
ntdb_off_t next;
|
||||||
|
|
||||||
r = ntdb_access_read(ntdb, off, sizeof(*r), true);
|
r = ntdb_access_read(ntdb, off, sizeof(*r), true);
|
||||||
@ -715,7 +714,6 @@ static ntdb_off_t lock_and_alloc(struct ntdb_context *ntdb,
|
|||||||
multiplier *= 1.01;
|
multiplier *= 1.01;
|
||||||
|
|
||||||
next = r->next;
|
next = r->next;
|
||||||
len = frec_len(r);
|
|
||||||
ntdb_access_release(ntdb, r);
|
ntdb_access_release(ntdb, r);
|
||||||
off = next;
|
off = next;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user