summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-07-18 19:55:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:08 -0500
commit023d2162d90ff62d5a8b1d732c7fd69dac7ebe35 (patch)
tree7a347a3fec0dd917b7b039f707cd57acdcd40073
parent8ebef3f4c80cbf05dbadf71204c781c28e369ec9 (diff)
downloadsamba-023d2162d90ff62d5a8b1d732c7fd69dac7ebe35.tar.gz
samba-023d2162d90ff62d5a8b1d732c7fd69dac7ebe35.tar.bz2
samba-023d2162d90ff62d5a8b1d732c7fd69dac7ebe35.zip
r8547: Code tidyup from Jason Mader <jason@ncac.gwu.edu>. Bugid #2885.
Jeremy. (This used to be commit 4d69a682b3ab4f660455e6ea5a2970481a6ccffc)
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index ab14638a24..2052a98c02 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -1060,7 +1060,6 @@ static BOOL ensure_canon_entry_valid(canon_ace **pp_ace,
BOOL got_grp = False;
BOOL got_other = False;
canon_ace *pace_other = NULL;
- canon_ace *pace_group = NULL;
for (pace = *pp_ace; pace; pace = pace->next) {
if (pace->type == SMB_ACL_USER_OBJ) {
@@ -1078,7 +1077,6 @@ static BOOL ensure_canon_entry_valid(canon_ace **pp_ace,
if (setting_acl)
apply_default_perms(fsp, pace, S_IRGRP);
got_grp = True;
- pace_group = pace;
} else if (pace->type == SMB_ACL_OTHER) {