mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: clean warns from older gcc
Don't report uninitialized use by older gcc.
This commit is contained in:
parent
5070e7fcf7
commit
e88e9ee9ed
4
lib/cache/lvmetad.c
vendored
4
lib/cache/lvmetad.c
vendored
@ -1484,8 +1484,8 @@ int lvmetad_pv_found(struct cmd_context *cmd, const struct id *pvid, struct devi
|
|||||||
daemon_reply reply;
|
daemon_reply reply;
|
||||||
struct lvmcache_info *info;
|
struct lvmcache_info *info;
|
||||||
struct dm_config_tree *pvmeta, *vgmeta;
|
struct dm_config_tree *pvmeta, *vgmeta;
|
||||||
const char *status, *vgname;
|
const char *status = NULL, *vgname = NULL;
|
||||||
int64_t changed;
|
int64_t changed = 0;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
if (!lvmetad_used() || test_mode())
|
if (!lvmetad_used() || test_mode())
|
||||||
|
Loading…
Reference in New Issue
Block a user