summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-01-07 03:31:52 +0000
committerTim Potter <tpot@samba.org>2003-01-07 03:31:52 +0000
commit33e019a0c54288c1c8110a88dbd45de5f81b670c (patch)
treec3122933c140ab4d65d9ec2b85dfd7b2c61a6ce4 /source3/smbd
parentbe0ff9d80912c5e0c29a560b89b7cc4afcf9f622 (diff)
downloadsamba-33e019a0c54288c1c8110a88dbd45de5f81b670c.tar.gz
samba-33e019a0c54288c1c8110a88dbd45de5f81b670c.tar.bz2
samba-33e019a0c54288c1c8110a88dbd45de5f81b670c.zip
Remove unused variable.
(This used to be commit 4bc82624f6f2d3745a1528c56b9dcf04613a6a1d)
Diffstat (limited to 'source3/smbd')
-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))