From 899cdc4503696cbe1030f3023fe259ce0740a55c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 8 Oct 2012 11:26:43 +1030 Subject: ntdb: remove unused local variable. Reported-by: Matthieu Patou Signed-off-by: Rusty Russell Autobuild-User(master): Rusty Russell Autobuild-Date(master): Mon Oct 8 04:43:37 CEST 2012 on sn-devel-104 --- lib/ntdb/free.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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; } -- cgit