mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-pvfs: another uninitialised variable
thanks to valgrind for this one
This commit is contained in:
parent
31f1a36901
commit
e5b36c6eae
@ -109,7 +109,7 @@ static NTSTATUS pvfs_unlink_setup_retry(struct ntvfs_module_context *ntvfs,
|
||||
static NTSTATUS pvfs_unlink_file(struct pvfs_state *pvfs,
|
||||
struct pvfs_filename *name)
|
||||
{
|
||||
NTSTATUS status;
|
||||
NTSTATUS status = NT_STATUS_OK;
|
||||
|
||||
if (name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY) {
|
||||
return NT_STATUS_FILE_IS_A_DIRECTORY;
|
||||
|
Loading…
Reference in New Issue
Block a user