From: Alasdair Kergon Date: Fri, 7 Apr 2006 14:14:31 +0000 (+0000) Subject: missing vg_name initialisation X-Git-Tag: v2_02_91~4570 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=d79e9d0d61a092d40dcb2ca03540c87c5b457485;p=lvm2.git missing vg_name initialisation --- 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) {