mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Removed unused variable.
Jeremy. (This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)
This commit is contained in:
parent
414056e9f2
commit
8f9d7ebb35
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user