From c974b97ca3aa476282632c9987f416cbe5ef8f39 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 7 Apr 2006 14:14:31 +0000 Subject: [PATCH] missing vg_name initialisation --- tools/lvconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {