summaryrefslogtreecommitdiffstats
path: root/source3/modules
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2014-05-25 00:35:09 +0200
committerChristian Ambach <ambi@samba.org>2014-06-04 22:34:51 +0200
commit2ee7d017e88469f4d9fde2e7f7a062b27fb7df82 (patch)
tree51d2e0cd1fd08ec99fd6e8b07549d316d779377f /source3/modules
parentc3607d2edf9572e9170bc57f816068da3d1b5e04 (diff)
downloadsamba-2ee7d017e88469f4d9fde2e7f7a062b27fb7df82.tar.gz
samba-2ee7d017e88469f4d9fde2e7f7a062b27fb7df82.tar.xz
samba-2ee7d017e88469f4d9fde2e7f7a062b27fb7df82.zip
s3:vfs_afsacl fix compiler warnings
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Wed Jun 4 22:34:51 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_afsacl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c
index ecc436efa3b..a794e954c16 100644
--- a/source3/modules/vfs_afsacl.c
+++ b/source3/modules/vfs_afsacl.c
@@ -1038,7 +1038,6 @@ static NTSTATUS afsacl_get_nt_acl(struct vfs_handle_struct *handle,
struct afs_acl acl;
size_t sd_size;
struct smb_filename *smb_fname = NULL;
- NTSTATUS status;
DEBUG(5, ("afsacl_get_nt_acl: %s\n", name));
@@ -1063,7 +1062,7 @@ static NTSTATUS afsacl_get_nt_acl(struct vfs_handle_struct *handle,
return (sd_size != 0) ? NT_STATUS_OK : NT_STATUS_ACCESS_DENIED;
}
-NTSTATUS afsacl_fset_nt_acl(vfs_handle_struct *handle,
+static NTSTATUS afsacl_fset_nt_acl(vfs_handle_struct *handle,
files_struct *fsp,
uint32 security_info_sent,
const struct security_descriptor *psd)