summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-26 03:07:51 +0000
committerJeremy Allison <jra@samba.org>2002-03-26 03:07:51 +0000
commit8f9d7ebb35f40ab6bda8f1d6d940df8b6aec4126 (patch)
treee29595daa59896d52da9a1f7883232c85ae1c560
parent414056e9f274089f9661ac80ed2da321c0dcbc36 (diff)
downloadsamba-8f9d7ebb35f40ab6bda8f1d6d940df8b6aec4126.tar.gz
samba-8f9d7ebb35f40ab6bda8f1d6d940df8b6aec4126.tar.bz2
samba-8f9d7ebb35f40ab6bda8f1d6d940df8b6aec4126.zip
Removed unused variable.
Jeremy. (This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)
-rw-r--r--source3/smbd/reply.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index b556862e68..06f068dccc 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1301,7 +1301,6 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
int count=0;
NTSTATUS error = NT_STATUS_OK;
BOOL has_wild;
- BOOL exists=False;
BOOL bad_path = False;
BOOL rc = True;
SMB_STRUCT_STAT sbuf;
@@ -1343,8 +1342,6 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
if (vfs_unlink(conn,directory) == 0) {
count++;
}
- if (!count)
- exists = vfs_file_exist(conn,directory,&sbuf);
} else {
void *dirptr = NULL;
char *dname;