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/e77d9ea5a3a7
branches:  trunk
changeset: 993364:e77d9ea5a3a7
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 a45e8973ecd8 -r e77d9ea5a3a7 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