From 909bf00ab4f9f2920da51781209efc2897e9fbf8 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 8 Dec 2011 18:00:03 +0000 Subject: [PATCH] tag uninit var --- tools/lvconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 2b84de4cd..9553b9bfc 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -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); -- 2.43.5