diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c index 66cec052b..52265d960 100644 --- a/module/zfs/vdev.c +++ b/module/zfs/vdev.c @@ -5648,7 +5648,7 @@ vdev_prop_set(vdev_t *vd, nvlist_t *innvl, nvlist_t *outnvl) nvpair_t *elem = NULL; uint64_t vdev_guid; nvlist_t *nvprops; - int error; + int error = 0; ASSERT(vd != NULL);