From 1219dac5ae345fcc687b7af9fdfb429a537874d1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 19 Oct 2009 11:56:53 +1100 Subject: 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 --- source4/ntvfs/posix/pvfs_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit