summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-11 21:07:26 +0200
committerJeremy Allison <jra@samba.org>2013-06-12 01:00:44 +0200
commite2a08e54dd008fceb5d8aabcf02ab4e389286f03 (patch)
tree6cc78ce9999832cd801524ebc865504344c531d1
parentecff2b25340daf38c326c2b9431568fee53ff78e (diff)
downloadsamba-e2a08e54dd008fceb5d8aabcf02ab4e389286f03.tar.gz
samba-e2a08e54dd008fceb5d8aabcf02ab4e389286f03.tar.bz2
samba-e2a08e54dd008fceb5d8aabcf02ab4e389286f03.zip
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
-rw-r--r--source3/smbd/dir.c2
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);