[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.7_ctdb.54-127-g06c3e88

Michael Adam obnox at samba.org
Thu Feb 19 21:51:21 GMT 2009


The branch, v3-2-ctdb has been updated
       via  06c3e883f0730501181244c360fecd67002c97dd (commit)
       via  2ad6b9078a8ce1d3aed3516ae4967cbe986161c6 (commit)
      from  fd61f118a3842f1c5fd8f51efefb0b63247deeab (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit 06c3e883f0730501181244c360fecd67002c97dd
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 19 22:49:44 2009 +0100

    remove an unused variable
    
    Michael

commit 2ad6b9078a8ce1d3aed3516ae4967cbe986161c6
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 19 22:36:29 2009 +0100

    remove an unused variable
    
    Michael

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

Summary of changes:
 source/auth/auth_util.c |    1 -
 source/lib/util_sid.c   |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 9118c73..662c9dd 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -756,7 +756,6 @@ NTSTATUS create_local_token(auth_serversupplied_info *server_info)
 	for (i=1; i<server_info->ptok->num_sids; i++) {
 		gid_t gid;
 		DOM_SID *sid = &server_info->ptok->user_sids[i];
-		size_t sidindex;
 
 		/*
 		 * For secondary groups, potentially apply a group
diff --git a/source/lib/util_sid.c b/source/lib/util_sid.c
index a41bb2e..5a0d7ee 100644
--- a/source/lib/util_sid.c
+++ b/source/lib/util_sid.c
@@ -471,7 +471,7 @@ int sid_compare_sort(const void *p1, const void *p2)
 {
 	const struct dom_sid *sid1 = (const struct dom_sid *)p1;
 	const struct dom_sid *sid2 = (const struct dom_sid *)p2;
-	int i, res;
+	int i;
 
 	if (sid1->sid_rev_num != sid2->sid_rev_num) {
 		return sid1->sid_rev_num - sid2->sid_rev_num;


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list