summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-19 12:59:49 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-19 13:51:17 +1100
commite5b36c6eaefdbf9e0c05856323bf52ae098a3720 (patch)
tree33197b600f23ee5c5a4990526341cee701130822
parent31f1a36901b5b8959dc51401c09c114829b50392 (diff)
downloadsamba-e5b36c6eaefdbf9e0c05856323bf52ae098a3720.tar.gz
samba-e5b36c6eaefdbf9e0c05856323bf52ae098a3720.tar.bz2
samba-e5b36c6eaefdbf9e0c05856323bf52ae098a3720.zip
s4-pvfs: another uninitialised variable
thanks to valgrind for this one
-rw-r--r--source4/ntvfs/posix/pvfs_unlink.c2
1 files changed, 1 insertions, 1 deletions
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;