summaryrefslogtreecommitdiffstats
path: root/cmd/zdb
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-12 10:30:41 -0700
committerBrian Behlendorf <[email protected]>2009-03-12 10:30:41 -0700
commitcabd4a69c4127de2ce491aa84cfe46eec9a4c105 (patch)
tree39dcf4d4f38931ed7f47ade22b1fe6fa7d33b2db /cmd/zdb
parentfbb28430867a3682016b3146effb0c4f54475a64 (diff)
Resolve remaining uninitialized variables
Most of these fixes appear to be harmless and should never occur. However, there were a few cases in this patch which do concern me, I doubt we're seeing them but they look possible... mainly in the user tools.
Diffstat (limited to 'cmd/zdb')
-rw-r--r--cmd/zdb/zdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c
index 0ced25865..455e78a75 100644
--- a/cmd/zdb/zdb.c
+++ b/cmd/zdb/zdb.c
@@ -647,7 +647,7 @@ static int
visit_indirect(spa_t *spa, const dnode_phys_t *dnp,
blkptr_t *bp, const zbookmark_t *zb)
{
- int err;
+ int err = 0;
if (bp->blk_birth == 0)
return (0);