1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Fix shadow warning for "access" variable.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 19 22:53:38 UTC 2010 on sn-devel-104
This commit is contained in:
Jeremy Allison 2010-10-19 13:32:53 -07:00
parent e7d0f478ee
commit 45794dd30a

View File

@ -109,13 +109,13 @@ struct object_tree *get_object_tree_by_GUID(struct object_tree *root,
/* Change the granted access per each ACE */
void object_tree_modify_access(struct object_tree *root,
uint32_t access)
uint32_t access_mask)
{
root->remaining_access &= ~access;
root->remaining_access &= ~access_mask;
if (root->num_of_children > 0) {
int i;
for (i = 0; i < root->num_of_children; i++) {
object_tree_modify_access(&root->children[i], access);
object_tree_modify_access(&root->children[i], access_mask);
}
}
}