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/639dc7c919cf
branches:  trunk
changeset: 365528:639dc7c919cf
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 5cba9780135c -r 639dc7c919cf 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