From 8f9d7ebb35f40ab6bda8f1d6d940df8b6aec4126 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 26 Mar 2002 03:07:51 +0000 Subject: Removed unused variable. Jeremy. (This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057) --- source3/smbd/reply.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3') 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; -- cgit