[SCM] Samba Shared Repository - branch master updated

Rusty Russell rusty at samba.org
Sun Oct 7 20:44:02 MDT 2012


The branch, master has been updated
       via  899cdc4 ntdb: remove unused local variable.
      from  9fc42da s3: Add two tests a CLEAR_IF_FIRST crash

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 899cdc4503696cbe1030f3023fe259ce0740a55c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date:   Mon Oct 8 11:26:43 2012 +1030

    ntdb: remove unused local variable.
    
    Reported-by: Matthieu Patou <mat at samba.org>
    Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
    
    Autobuild-User(master): Rusty Russell <rusty at rustcorp.com.au>
    Autobuild-Date(master): Mon Oct  8 04:43:37 CEST 2012 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 lib/ntdb/free.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/ntdb/free.c b/lib/ntdb/free.c
index 470c376..0d0e25f 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;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list