summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/dir.c1
-rw-r--r--source3/smbd/open.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 4aa132d110..9e8de2979b 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -688,7 +688,6 @@ static BOOL user_can_read_file(connection_struct *conn, char *name, SMB_STRUCT_S
size_t sd_size;
files_struct *fsp;
int smb_action;
- int access_mode;
NTSTATUS status;
uint32 access_granted;
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index d5521f7f47..dcd901afaf 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1281,7 +1281,6 @@ files_struct *open_directory(connection_struct *conn, char *fname, SMB_STRUCT_ST
files_struct *open_file_stat(connection_struct *conn, char *fname, SMB_STRUCT_STAT *psbuf)
{
extern struct current_user current_user;
- BOOL got_stat = False;
files_struct *fsp = NULL;
if (!VALID_STAT(*psbuf))