summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-08 11:26:43 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-10-08 04:43:36 +0200
commit899cdc4503696cbe1030f3023fe259ce0740a55c (patch)
treea9ea5688ad44d7f312678b7cd6f988c2fb5235c6 /lib
parent9fc42daf75d0eee9fd22e66a3eeb687b178e29e3 (diff)
downloadsamba-899cdc4503696cbe1030f3023fe259ce0740a55c.tar.gz
samba-899cdc4503696cbe1030f3023fe259ce0740a55c.tar.bz2
samba-899cdc4503696cbe1030f3023fe259ce0740a55c.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/ntdb/free.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ntdb/free.c b/lib/ntdb/free.c
index 470c3765d9..0d0e25f105 100644
--- a/lib/ntdb/free.c
+++ b/lib/ntdb/free.c
@@ -683,7 +683,6 @@ static ntdb_off_t lock_and_alloc(struct ntdb_context *ntdb,
while (off) {
const struct ntdb_free_record *r;
- ntdb_len_t len;
ntdb_off_t next;
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;
next = r->next;
- len = frec_len(r);
ntdb_access_release(ntdb, r);
off = next;
}