summaryrefslogtreecommitdiffstats
path: root/module/nvpair
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-11 12:43:28 -0700
committerBrian Behlendorf <[email protected]>2009-03-11 12:43:28 -0700
commitc1d30c2fd3da0bfaf5a23c7e1f1f52e50d61418d (patch)
tree2187410c1c42659f30786f1c378557955b85d63b /module/nvpair
parent57b10339b331781d08fc47fa612146a8e607753d (diff)
parentced9992186a2568f8c6d39aa8dbefb9267e67805 (diff)
Merge commit 'refs/top-bases/gcc-branch' into gcc-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)