From e2a08e54dd008fceb5d8aabcf02ab4e389286f03 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 11 Jun 2013 21:07:26 +0200 Subject: [PATCH] smbd: Remove an unused variable Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Jun 12 01:00:44 CEST 2013 on sn-devel-104 --- source3/smbd/dir.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 7dd959f943a..d99eec21540 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); -- 2.11.4.GIT