summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-12 10:37:11 -0700
committerBrian Behlendorf <[email protected]>2009-03-12 10:37:11 -0700
commitf8fe8a76f4a1422d105fbcb9ec9c33001a3c1c92 (patch)
tree38cebef9404fc0437619b327ae13334decaf4030 /module
parenteceaf813ad56381192222ecf85a35aaea5585353 (diff)
parentcabd4a69c4127de2ce491aa84cfe46eec9a4c105 (diff)
Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch
Diffstat (limited to 'module')
-rw-r--r--module/zfs/arc.c2
-rw-r--r--module/zfs/dmu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c
index 31b337b0f..bdb5e8b32 100644
--- a/module/zfs/arc.c
+++ b/module/zfs/arc.c
@@ -2607,7 +2607,7 @@ top:
uint64_t size = BP_GET_LSIZE(bp);
arc_callback_t *acb;
vdev_t *vd = NULL;
- daddr_t addr;
+ daddr_t addr = -1;
boolean_t devw = B_FALSE;
if (hdr == NULL) {
diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c
index 52373e8b6..b1f3bea77 100644
--- a/module/zfs/dmu.c
+++ b/module/zfs/dmu.c
@@ -189,7 +189,7 @@ dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset,
uint32_t flags;
int err;
zio_t *zio;
- hrtime_t start;
+ hrtime_t start = 0;
ASSERT(length <= DMU_MAX_ACCESS);