s4-pvfs: fixed uninitialised variable
[ira/wip.git] / source4 / ntvfs / posix / pvfs_open.c
index 59bd67b08d65dd482617cb71d975e3effe5e5049..b100c856b4916cb400a1b738d726ac479c8d55ee 100644 (file)
@@ -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) {