Skip to contentSkip to conversation

LVM2/tools lvconvert.c

PATCH [email protected] 1 participant 1 message Dec 8, 2011

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-12-08 18:00:04

Modified files:
tools : lvconvert.c

Log message:
tag uninit var

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvconvert.c.diff?cvsroot=lvm2&r1=1.176&r2=1.177

tools/lvconvert.c +1 -1
@@ -1460,7 +1460,7 @@
 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);