summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
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
commit4eb29ac559faf29b348a4097a33f9cbf4cf9d057 (patch)
tree59480963e91dc7f3aba16b934fc3c6a1db29fae9 /source/smbd/reply.c
parent6d6842abfa1f7a317b3aa6b285ed737bf7056e82 (diff)
downloadsamba-4eb29ac559faf29b348a4097a33f9cbf4cf9d057.tar.gz
samba-4eb29ac559faf29b348a4097a33f9cbf4cf9d057.tar.xz
samba-4eb29ac559faf29b348a4097a33f9cbf4cf9d057.zip
Removed unused variable.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index b556862e683..06f068dcccf 100644
--- a/source/smbd/reply.c
+++ b/source/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;