Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs handle clang stup...



details:   https://anonhg.NetBSD.org/src/rev/5615a131da28
branches:  trunk
changeset: 433306:5615a131da28
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 07 02:25:40 2018 +0000

description:
handle clang stupidity

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f56b8ef87e0a -r 5615a131da28 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c      Thu Sep 06 22:54:05 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c      Fri Sep 07 02:25:40 2018 +0000
@@ -2359,6 +2359,7 @@
         */
        if (zp->z_pflags & ZFS_XATTR)
                return (0);
+       xzp = NULL;     // XXX: hello clang is_attr is false here.
 #else
        /*
         * If attribute then validate against base file



Home | Main Index | Thread Index | Old Index