mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
lvmetad: initialize cft value
the error should not test garbage value.
This commit is contained in:
parent
28776b9526
commit
c4dcbf67a3
@ -663,7 +663,7 @@ static int vg_remove_if_missing(lvmetad_state *s, const char *vgid)
|
||||
static int update_metadata(lvmetad_state *s, const char *name, const char *_vgid,
|
||||
struct dm_config_node *metadata, int64_t *oldseq)
|
||||
{
|
||||
struct dm_config_tree *cft;
|
||||
struct dm_config_tree *cft = NULL;
|
||||
struct dm_config_tree *old;
|
||||
int retval = 0;
|
||||
int seq;
|
||||
|
Loading…
x
Reference in New Issue
Block a user