Set prev to NULL so its garaunteed to have a value of some kind and

gcc doesn't explode.  Feel free to fix this correctly or whatever for
gcc builds.

This *should* quiesce tinderbox after r335347 for the gcc builds.
This commit is contained in:
Sean Bruno 2018-06-19 18:09:15 +00:00
parent b92435cc82
commit 843c0f2aaf

View File

@ -1979,7 +1979,7 @@ int
nvpair_append_nvlist_array(nvpair_t *nvp, const nvlist_t *value)
{
nvpair_t *tmpnvp;
nvlist_t *nvl, *prev;
nvlist_t *nvl, *prev = NULL;
int flags;
NVPAIR_ASSERT(nvp);