diff options
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r-- | source3/smbd/dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 7dd959f943..d99eec2154 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -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); |