diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-23 15:44:34 -0800 |
commit | 2033b44c3f0872d98d8144a9fbf6d09fbde196e5 (patch) | |
tree | 0d39ec2fce365780c207175801002edbb4f3f8ba /source3/libgpo | |
parent | 0b62cdbed0867d0712821953700062727f668c65 (diff) | |
download | samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.gz samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.tar.bz2 samba-2033b44c3f0872d98d8144a9fbf6d09fbde196e5.zip |
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/libgpo')
-rw-r--r-- | source3/libgpo/gpo_reg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c index 3d385dec14..9367bcae9c 100644 --- a/source3/libgpo/gpo_reg.c +++ b/source3/libgpo/gpo_reg.c @@ -691,7 +691,7 @@ static WERROR gp_reg_generate_sd(TALLOC_CTX *mem_ctx, SEC_ACE ace[6]; uint32_t mask; - SEC_ACL *acl = NULL; + SEC_ACL *theacl = NULL; uint8_t inherit_flags; @@ -735,15 +735,15 @@ static WERROR gp_reg_generate_sd(TALLOC_CTX *mem_ctx, SEC_ACE_TYPE_ACCESS_ALLOWED, mask, inherit_flags); - acl = make_sec_acl(mem_ctx, NT4_ACL_REVISION, 6, ace); - W_ERROR_HAVE_NO_MEMORY(acl); + theacl = make_sec_acl(mem_ctx, NT4_ACL_REVISION, 6, ace); + W_ERROR_HAVE_NO_MEMORY(theacl); *sd = make_sec_desc(mem_ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE | SEC_DESC_DACL_AUTO_INHERITED | /* really ? */ SEC_DESC_DACL_AUTO_INHERIT_REQ, /* really ? */ NULL, NULL, NULL, - acl, sd_size); + theacl, sd_size); W_ERROR_HAVE_NO_MEMORY(*sd); return WERR_OK; |