s3:smbd: remove an unused variable in dptr_create()
authorMichael Adam <obnox@samba.org>
Wed, 17 Aug 2011 08:19:58 +0000 (10:19 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 25 Aug 2011 21:55:06 +0000 (23:55 +0200)
source3/smbd/dir.c

index e7c17de1f6f7c40039607dec967ce9d47bebca35..cc7488681049c5465f00c16bbbd33164bbc78294 100644 (file)
@@ -427,7 +427,6 @@ NTSTATUS dptr_create(connection_struct *conn, files_struct *fsp,
        struct smbd_server_connection *sconn = conn->sconn;
        struct dptr_struct *dptr = NULL;
        struct smb_Dir *dir_hnd;
-       NTSTATUS status;
 
        if (fsp && fsp->is_directory && fsp->fh->fd != -1) {
                path = fsp->fsp_name->base_name;