diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-23 20:41:22 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-23 20:41:22 +0000 |
commit | cd4fea0098ce5200d764f51bef16980f972925ff (patch) | |
tree | 6bab216739ed3abfc068aad5b4dfec4671bbeb67 /source3/smbd | |
parent | 370664344a138ada6779dab23fa31bc4e0794e1a (diff) | |
download | samba-cd4fea0098ce5200d764f51bef16980f972925ff.tar.gz samba-cd4fea0098ce5200d764f51bef16980f972925ff.tar.bz2 samba-cd4fea0098ce5200d764f51bef16980f972925ff.zip |
More unused variables.
Jeremy.
(This used to be commit 38b19fad2851a65268b31c7e0240ed36a8407be4)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/posix_acls.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index fe1c02e46c..54973d17a7 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -1428,9 +1428,6 @@ static canon_ace *canonicalise_acl( files_struct *fsp, SMB_ACL_T posix_acl, SMB_ canon_ace *list_head = NULL; canon_ace *ace = NULL; canon_ace *next_ace = NULL; - canon_ace *owner_ace = NULL; - canon_ace *group_ace = NULL; - canon_ace *other_ace = NULL; int entry_id = SMB_ACL_FIRST_ENTRY; SMB_ACL_ENTRY_T entry; size_t ace_count; @@ -1523,17 +1520,6 @@ static canon_ace *canonicalise_acl( files_struct *fsp, SMB_ACL_T posix_acl, SMB_ ace->unix_ug = unix_ug; ace->owner_type = owner_type; - /* - * Remember the user/group/other ACE entries. - */ - - if (tagtype == SMB_ACL_USER_OBJ) - owner_ace = ace; - else if (tagtype == SMB_ACL_GROUP_OBJ) - group_ace = ace; - else if (tagtype == SMB_ACL_OTHER) - other_ace = ace; - DLIST_ADD(list_head, ace); } |