1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00

Fix compile warning in vgchange.c regarding mda_copies initialization.

This commit is contained in:
Dave Wysochanski 2010-06-28 21:35:00 +00:00
parent 4b660a89d9
commit ffdd12841e

View File

@ -528,7 +528,7 @@ static int _vgchange_refresh(struct cmd_context *cmd, struct volume_group *vg)
static int _vgchange_metadata_copies(struct cmd_context *cmd,
struct volume_group *vg)
{
uint32_t mda_copies;
uint32_t mda_copies = DEFAULT_VGMETADATACOPIES;
if (arg_count(cmd, vgmetadatacopies_ARG))
mda_copies = arg_uint_value(cmd, vgmetadatacopies_ARG,