summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-02-24 21:53:30 -0800
committerTim Prouty <tprouty@samba.org>2009-02-24 21:55:44 -0800
commitafc7e45a4ccf8505e4c598334e339e79ba036057 (patch)
treeb2cc9d3a712c39c89542b0fb61824be939c7a2bf
parentd75df717336e063f52af1415f99b6e16ccbf918c (diff)
downloadsamba-afc7e45a4ccf8505e4c598334e339e79ba036057.tar.gz
samba-afc7e45a4ccf8505e4c598334e339e79ba036057.tar.bz2
samba-afc7e45a4ccf8505e4c598334e339e79ba036057.zip
s3 OneFS: Fix uninitialized variable
-rw-r--r--source3/modules/onefs_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c
index b8097b6455..a1bfa6e121 100644
--- a/source3/modules/onefs_acl.c
+++ b/source3/modules/onefs_acl.c
@@ -890,7 +890,7 @@ onefs_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
uint32 security_info_sent, SEC_DESC *psd)
{
struct ifs_security_descriptor sd = {};
- int fd;
+ int fd = -1;
bool fopened = false;
NTSTATUS status;