[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Wed Jan 23 12:05:02 MST 2013


The branch, master has been updated
       via  1915b17 dsdb-acl: remove unused variable
       via  f9868b7 smbd: Fix a NULL vs false return error
      from  3d1abb9 waf: Fix pdb_ldap which cannot be built as a module.

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


- Log -----------------------------------------------------------------
commit 1915b17d09485b9491caf3410b0c5186f6c2c616
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 17 17:19:03 2013 +0100

    dsdb-acl: remove unused variable
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Wed Jan 23 20:04:09 CET 2013 on sn-devel-104

commit f9868b7ffd44a76155dbac1dc4b12f2d89af5380
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jan 22 13:14:41 2013 +0100

    smbd: Fix a NULL vs false return error
    
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

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

Summary of changes:
 source3/smbd/server.c                     |    2 +-
 source4/dsdb/samdb/ldb_modules/acl_util.c |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 00472db..57fe7b6 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -282,7 +282,7 @@ static bool smbd_parent_notify_init(TALLOC_CTX *mem_ctx,
 
 	state = talloc(mem_ctx, struct smbd_parent_notify_state);
 	if (state == NULL) {
-		return NULL;
+		return false;
 	}
 	state->msg = msg;
 	state->ev = ev;
diff --git a/source4/dsdb/samdb/ldb_modules/acl_util.c b/source4/dsdb/samdb/ldb_modules/acl_util.c
index 795a39c..9be376d 100644
--- a/source4/dsdb/samdb/ldb_modules/acl_util.c
+++ b/source4/dsdb/samdb/ldb_modules/acl_util.c
@@ -203,7 +203,6 @@ int acl_check_extended_right(TALLOC_CTX *mem_ctx,
 	NTSTATUS status;
 	uint32_t access_granted;
 	struct object_tree *root = NULL;
-	struct object_tree *new_node = NULL;
 	TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
 
 	GUID_from_string(ext_right, &right);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list