Skip to contentSkip to conversation

LVM2/tools vgsplit.c

PATCH [email protected] 1 participant 1 message Jun 10, 2009

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2009-06-10 11:21:10

Modified files:
tools : vgsplit.c

Log message:
Fix compiler warning.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgsplit.c.diff?cvsroot=lvm2&r1=1.75&r2=1.76

tools/vgsplit.c +1 -1
@@ -281,7 +281,7 @@
 	char *vg_name_from, *vg_name_to;
 	struct volume_group *vg_to = NULL, *vg_from = NULL;
 	int opt;
-	int existing_vg;
+	int existing_vg = 0;
 	int consistent;
 	int r = ECMD_FAILED;
 	const char *lv_name;