diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 09:58:04 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-31 08:38:43 -0700 |
commit | d4ed667343c3dac114642b9f6cb4f7baa3ff7334 (patch) | |
tree | 16b3f627625f83d0214446fb6f867e100f1a34c5 /module/zfs/spa_misc.c | |
parent | 1fde1e37208c2f56c72c70a06676676f04b65998 (diff) |
Fix gcc uninitialized variable warnings
Gcc -Wall warn: 'uninitialized variable'
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/spa_misc.c')
-rw-r--r-- | module/zfs/spa_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index cd8a6c875..32ef51db1 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -399,7 +399,7 @@ spa_lookup(const char *name) static spa_t search; /* spa_t is large; don't allocate on stack */ spa_t *spa; avl_index_t where; - char c; + char c = 0; char *cp; ASSERT(MUTEX_HELD(&spa_namespace_lock)); |