mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbd: Remove an unused variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jun 12 01:00:44 CEST 2013 on sn-devel-104
This commit is contained in:
parent
ecff2b2534
commit
e2a08e54dd
@ -426,7 +426,6 @@ static struct smb_Dir *open_dir_with_privilege(connection_struct *conn,
|
||||
const char *wcard,
|
||||
uint32_t attr)
|
||||
{
|
||||
NTSTATUS status;
|
||||
struct smb_Dir *dir_hnd = NULL;
|
||||
struct smb_filename *smb_fname_cwd;
|
||||
char *saved_dir = vfs_GetWd(talloc_tos(), conn);
|
||||
@ -445,7 +444,6 @@ static struct smb_Dir *open_dir_with_privilege(connection_struct *conn,
|
||||
smb_fname_cwd = synthetic_smb_fname(talloc_tos(), ".", NULL, NULL);
|
||||
|
||||
if (smb_fname_cwd == NULL) {
|
||||
status = NT_STATUS_NO_MEMORY;
|
||||
goto out;
|
||||
}
|
||||
ret = SMB_VFS_STAT(conn, smb_fname_cwd);
|
||||
|
Loading…
Reference in New Issue
Block a user