Remove unused variable.
authorTim Potter <tpot@samba.org>
Tue, 7 Jan 2003 03:31:52 +0000 (03:31 +0000)
committerTim Potter <tpot@samba.org>
Tue, 7 Jan 2003 03:31:52 +0000 (03:31 +0000)
(This used to be commit 4bc82624f6f2d3745a1528c56b9dcf04613a6a1d)

source3/smbd/dir.c
source3/smbd/open.c

index 4aa132d110ad94b5738d998e86ffefae0869eec9..9e8de2979b91b7e84d8acd930d6177a822ce2855 100644 (file)
@@ -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;
 
index d5521f7f47b4055138c3420821d045a1e79a7faf..dcd901afaffc2c945c7f673c58147a828ae9d5ff 100644 (file)
@@ -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))