1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

Removed unused variable.

Jeremy.
(This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)
This commit is contained in:
Jeremy Allison 2002-03-26 03:07:51 +00:00
parent 414056e9f2
commit 8f9d7ebb35

View File

@ -1301,7 +1301,6 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
int count=0; int count=0;
NTSTATUS error = NT_STATUS_OK; NTSTATUS error = NT_STATUS_OK;
BOOL has_wild; BOOL has_wild;
BOOL exists=False;
BOOL bad_path = False; BOOL bad_path = False;
BOOL rc = True; BOOL rc = True;
SMB_STRUCT_STAT sbuf; SMB_STRUCT_STAT sbuf;
@ -1343,8 +1342,6 @@ NTSTATUS unlink_internals(connection_struct *conn, int dirtype, char *name)
if (vfs_unlink(conn,directory) == 0) { if (vfs_unlink(conn,directory) == 0) {
count++; count++;
} }
if (!count)
exists = vfs_file_exist(conn,directory,&sbuf);
} else { } else {
void *dirptr = NULL; void *dirptr = NULL;
char *dname; char *dname;