From e5b36c6eaefdbf9e0c05856323bf52ae098a3720 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 19 Oct 2009 12:59:49 +1100 Subject: s4-pvfs: another uninitialised variable thanks to valgrind for this one --- source4/ntvfs/posix/pvfs_unlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/ntvfs/posix') diff --git a/source4/ntvfs/posix/pvfs_unlink.c b/source4/ntvfs/posix/pvfs_unlink.c index e10b2e3eef..67e7d76b47 100644 --- a/source4/ntvfs/posix/pvfs_unlink.c +++ b/source4/ntvfs/posix/pvfs_unlink.c @@ -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; -- cgit