Ensure idx is properly initialized in all instances.
This commit is contained in:
parent
5be9e325a1
commit
fbb2843086
|
@ -1563,7 +1563,7 @@ nvlist_lookup_nvpair_ei_sep(nvlist_t *nvl, const char *name, const char sep,
|
||||||
char *sepp;
|
char *sepp;
|
||||||
char *idxp, *idxep;
|
char *idxp, *idxep;
|
||||||
nvlist_t **nva;
|
nvlist_t **nva;
|
||||||
long idx;
|
long idx = 0;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
if (ip)
|
if (ip)
|
||||||
|
|
Loading…
Reference in New Issue