]> sourceware.org Git - lvm2.git/commitdiff
missing vg_name initialisation
authorAlasdair Kergon <agk@redhat.com>
Fri, 7 Apr 2006 14:14:31 +0000 (14:14 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 7 Apr 2006 14:14:31 +0000 (14:14 +0000)
tools/lvconvert.c

index 695427ff61cdfe237b523a32264050f28e7bc670..316a2ea7e06bacea4aeeba60a4ef998d72a74f44 100644 (file)
@@ -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) {
This page took 0.034488 seconds and 5 git commands to generate.