From 33e019a0c54288c1c8110a88dbd45de5f81b670c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 7 Jan 2003 03:31:52 +0000 Subject: Remove unused variable. (This used to be commit 4bc82624f6f2d3745a1528c56b9dcf04613a6a1d) --- source3/smbd/dir.c | 1 - source3/smbd/open.c | 1 - 2 files changed, 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)) -- cgit