Fix gcc uninitialized variable warnings

Gcc -Wall warn: 'uninitialized variable'

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Brian Behlendorf
2010-08-26 09:58:04 -07:00
parent 1fde1e3720
commit d4ed667343
24 changed files with 49 additions and 41 deletions
+2 -2
View File
@@ -1611,10 +1611,10 @@ 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;
long idx = 0;
int n;
if (ip)