s3:vfs_fake_acls fix a compiler warning
authorChristian Ambach <ambi@samba.org>
Sat, 22 Sep 2012 20:33:02 +0000 (13:33 -0700)
committerChristian Ambach <ambi@samba.org>
Sat, 22 Sep 2012 23:08:39 +0000 (01:08 +0200)
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

source3/modules/vfs_fake_acls.c

index 258cb197c0b9dd766824029f4ad5ed5af8a55878..6390b67395b13924a5d8a36a3b3ed651e638d043 100644 (file)
@@ -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 {