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 Avoid uninitializ...



details:   https://anonhg.NetBSD.org/src/rev/2bbbb95fa64d
branches:  trunk
changeset: 992227:2bbbb95fa64d
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 20 06:47:16 2018 +0000

description:
Avoid uninitialized warning.

diffstat:

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

diffs (13 lines):

diff -r 2e25b09340a4 -r 2bbbb95fa64d external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c    Mon Aug 20 05:22:40 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c    Mon Aug 20 06:47:16 2018 +0000
@@ -6470,7 +6470,8 @@
                                goto out;
                        }
                }
-       }
+       } else
+               zc_iocparm = NULL;
 
        if (compat) {
                if (newioc) {



Home | Main Index | Thread Index | Old Index