summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-09-22 13:33:02 -0700
committerChristian Ambach <ambi@samba.org>2012-09-23 01:08:39 +0200
commit0319903b31474575baa78abac30004693f574158 (patch)
treece703a87e3302a00e7b13e178bfda44570721b38
parent1b5256c184ec378783e6219b34b5a3e512c4df99 (diff)
downloadsamba-0319903b31474575baa78abac30004693f574158.tar.gz
samba-0319903b31474575baa78abac30004693f574158.tar.bz2
samba-0319903b31474575baa78abac30004693f574158.zip
s3:vfs_fake_acls fix a compiler warning
about acl being potentially uninitialized Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Sun Sep 23 01:08:39 CEST 2012 on sn-devel-104
-rw-r--r--source3/modules/vfs_fake_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_fake_acls.c b/source3/modules/vfs_fake_acls.c
index 258cb197c0..6390b67395 100644
--- a/source3/modules/vfs_fake_acls.c
+++ b/source3/modules/vfs_fake_acls.c
@@ -269,7 +269,7 @@ static SMB_ACL_T fake_acls_sys_acl_get_fd(struct vfs_handle_struct *handle, file
DATA_BLOB blob = data_blob_null;
ssize_t length;
const char *name = FAKE_ACL_ACCESS_XATTR;
- struct smb_acl_t *acl;
+ struct smb_acl_t *acl = NULL;
TALLOC_CTX *frame = talloc_stackframe();
do {