]> sourceware.org Git - lvm2.git/commitdiff
tag uninit var
authorAlasdair Kergon <agk@redhat.com>
Thu, 8 Dec 2011 18:00:03 +0000 (18:00 +0000)
committerAlasdair Kergon <agk@redhat.com>
Thu, 8 Dec 2011 18:00:03 +0000 (18:00 +0000)
tools/lvconvert.c

index 2b84de4cd2205289a2d3fb8f322bc19aaaea3736..9553b9bfc943fb52ba21658f8545e876617d85e2 100644 (file)
@@ -1460,7 +1460,7 @@ static void _lvconvert_raid_repair_ask(struct cmd_context *cmd, int *replace_dev
 static int lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *lp)
 {
        int replace = 0;
-       int image_count;
+       int uninitialized_var(image_count);
        struct dm_list *failed_pvs;
        struct cmd_context *cmd = lv->vg->cmd;
        struct lv_segment *seg = first_seg(lv);
This page took 0.041471 seconds and 5 git commands to generate.