summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-19 11:56:53 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-19 11:59:57 +1100
commit1219dac5ae345fcc687b7af9fdfb429a537874d1 (patch)
tree557bda0c1a1857b55245e8a6961dd1567622695e /source4
parentd673b49dfcd75f723b39fbc914d69caae4b96237 (diff)
downloadsamba-1219dac5ae345fcc687b7af9fdfb429a537874d1.tar.gz
samba-1219dac5ae345fcc687b7af9fdfb429a537874d1.tar.bz2
samba-1219dac5ae345fcc687b7af9fdfb429a537874d1.zip
s4-pvfs: fixed uninitialised variable
This caused havoc on the build farm. Interestingly, it only affected gcc 4.3.3, not gcc 4.4.1
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/posix/pvfs_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c
index 59bd67b08d..b100c856b4 100644
--- a/source4/ntvfs/posix/pvfs_open.c
+++ b/source4/ntvfs/posix/pvfs_open.c
@@ -106,7 +106,7 @@ static NTSTATUS pvfs_open_setup_eas_acl(struct pvfs_state *pvfs,
union smb_open *io,
struct security_descriptor *sd)
{
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_OK;
/* setup any EAs that were asked for */
if (io->ntcreatex.in.ea_list) {