summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-08-08 00:15:29 +0200
committerBjoern Jacke <bj@sernet.de>2012-08-08 00:21:26 +0200
commit375ba1b483c5a1861df7a897020397f87575a8f9 (patch)
treedc8d46ebe132d9c62ba9124af6f8d14eae2f301d /source3
parentebc92d071567b7e7ca8b06372aeccaf26a986b3c (diff)
downloadsamba-375ba1b483c5a1861df7a897020397f87575a8f9.tar.gz
samba-375ba1b483c5a1861df7a897020397f87575a8f9.tar.bz2
samba-375ba1b483c5a1861df7a897020397f87575a8f9.zip
vfs_afsacl.c: Remove some unnecessary return; statements
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_afsacl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c
index 61a31458cf..ab7ef30e6b 100644
--- a/source3/modules/vfs_afsacl.c
+++ b/source3/modules/vfs_afsacl.c
@@ -217,8 +217,6 @@ static void add_afs_ace(struct afs_acl *acl,
DEBUG(10, ("add_afs_ace: Added %s entry for %s with rights %d\n",
ace->positive?"positive":"negative",
ace->name, ace->rights));
-
- return;
}
/* AFS ACLs in string form are a long string of fields delimited with \n.
@@ -395,8 +393,6 @@ static void afs_to_nt_dir_rights(uint32 afs_rights, uint32 *nt_rights,
/* Only lookup right */
*flag = SEC_ACE_FLAG_CONTAINER_INHERIT;
}
-
- return;
}
#define AFS_FILE_RIGHTS (PRSFS_READ|PRSFS_WRITE|PRSFS_LOCK)
@@ -422,7 +418,6 @@ static void split_afs_acl(struct afs_acl *acl,
ace->rights & AFS_DIR_RIGHTS);
}
}
- return;
}
static bool same_principal(struct afs_ace *x, struct afs_ace *y)