diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 695427ff6..316a2ea7e 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -42,7 +42,7 @@ static int _read_name_params(struct lvconvert_params *lp, struct cmd_context *cmd, int *pargc, char ***pargv) { char *ptr; - const char *vg_name; + const char *vg_name = NULL; if (lp->snapshot) { if (!*pargc) {