From: Brian Behlendorf Date: Thu, 9 Jul 2009 19:14:56 +0000 (-0700) Subject: Unitialized variables should be handled in the gcc-uninit topic branch. X-Git-Tag: zfs-0.4.5~43^2^2^2^2^2^2^2^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a551134b2f9cb505018b22d62e1b778f229f4e45;p=zfs Unitialized variables should be handled in the gcc-uninit topic branch. --- diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c index 2cf1c51a8..3e147617b 100644 --- a/module/nvpair/nvpair.c +++ b/module/nvpair/nvpair.c @@ -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;