From 2ee7d017e88469f4d9fde2e7f7a062b27fb7df82 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Sun, 25 May 2014 00:35:09 +0200 Subject: s3:vfs_afsacl fix compiler warnings Signed-off-by: Christian Ambach Reviewed-by: Andrew Bartlett Autobuild-User(master): Christian Ambach Autobuild-Date(master): Wed Jun 4 22:34:51 CEST 2014 on sn-devel-104 --- source3/modules/vfs_afsacl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/modules') 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) -- cgit