summaryrefslogtreecommitdiffstats
path: root/module/nvpair
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-11 12:43:29 -0700
committerBrian Behlendorf <[email protected]>2009-03-11 12:43:29 -0700
commit86baaa124ed3eb31b0adf777d0fe5ebf1e69f6a8 (patch)
treee41fd1cf3a8e5e3d1b892c4ee5ad0edd8da175ef /module/nvpair
parent5f30a3cb0e1bc4b47622d5b2e05cdc346c6dccd6 (diff)
parentc1d30c2fd3da0bfaf5a23c7e1f1f52e50d61418d (diff)
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Diffstat (limited to 'module/nvpair')
-rw-r--r--module/nvpair/nvpair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c
index 7638d8cad..a3e624d40 100644
--- a/module/nvpair/nvpair.c
+++ b/module/nvpair/nvpair.c
@@ -1563,7 +1563,7 @@ nvlist_lookup_nvpair_ei_sep(nvlist_t *nvl, const char *name, const char sep,
char *sepp = NULL;
char *idxp, *idxep;
nvlist_t **nva;
- long idx;
+ long idx = 0;
int n;
if (ip)