]> granicus.if.org Git - zfs/commitdiff
Unitialized variables should be handled in the gcc-uninit topic branch.
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2009 19:14:56 +0000 (12:14 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2009 19:14:56 +0000 (12:14 -0700)
module/nvpair/nvpair.c

index 2cf1c51a8c0185cd5b78b584cd1b3fd5b59c54e9..3e147617b0d4ddfaec1455b8f6dcceb2130ba821 100644 (file)
@@ -1560,7 +1560,7 @@ nvlist_lookup_nvpair_ei_sep(nvlist_t *nvl, const char *name, const char sep,
 {
        nvpair_t        *nvp;
        const char      *np;
-       char            *sepp;
+       char            *sepp = NULL;
        char            *idxp, *idxep;
        nvlist_t        **nva;
        long            idx = 0;