summaryrefslogtreecommitdiff
path: root/source4/ntvfs
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 /source4/ntvfs
parent31f1a36901b5b8959dc51401c09c114829b50392 (diff)
downloadsamba-e5b36c6eaefdbf9e0c05856323bf52ae098a3720.tar.gz
s4-pvfs: another uninitialised variable
thanks to valgrind for this one
Diffstat (limited to 'source4/ntvfs')
-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 e10b2e3eef8..67e7d76b47f 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;