s4-pvfs: another uninitialised variable
[ira/wip.git] / source4 / ntvfs / posix / pvfs_unlink.c
index e10b2e3eef8a32a521bb7652611f4603ef8b8491..67e7d76b47f6fbd116dccd84f6523b4fdce68c87 100644 (file)
@@ -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;