]> granicus.if.org Git - zfs/commitdiff
Resolve a 2 new cases of for loop variable declared in for()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 8 Jul 2009 16:05:37 +0000 (09:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 8 Jul 2009 16:05:37 +0000 (09:05 -0700)
module/zfs/vdev_label.c

index b2f45d366eb384548b2d5b215515ea68bc72c697..b858edef18d17636a158125e686d2952fba173f6 100644 (file)
@@ -508,6 +508,7 @@ vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason)
        uint64_t spare_guid, l2cache_guid;
        int flags = ZIO_FLAG_CONFIG_WRITER | ZIO_FLAG_CANFAIL;
        int c, l, n;
+       vdev_t *pvd;
 
        ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL);