summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-18 16:49:47 +0100
committerVolker Lendecke <vl@samba.org>2012-02-19 23:14:15 +0100
commit7af3dfd3af80e146931260d6de100a9901e440bc (patch)
treeab82c3668286fdeef73949532918582f153138fb /source3
parent8679dc711f82a6ca25777c0f9806953f014b4fe0 (diff)
downloadsamba-7af3dfd3af80e146931260d6de100a9901e440bc.tar.gz
samba-7af3dfd3af80e146931260d6de100a9901e440bc.tar.bz2
samba-7af3dfd3af80e146931260d6de100a9901e440bc.zip
s3: Remove a pointless else branch
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Feb 19 23:14:15 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index e9637c8ce9..356a08fe42 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -201,9 +201,8 @@ NTSTATUS smbd_check_access_rights(struct connection_struct *conn,
if (rejected_mask != 0) {
return NT_STATUS_ACCESS_DENIED;
- } else {
- return NT_STATUS_OK;
}
+ return NT_STATUS_OK;
}
static NTSTATUS check_parent_access(struct connection_struct *conn,