1
0
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:
Zdenek Kabelac 2016-06-24 01:10:04 +02:00
parent 5070e7fcf7
commit e88e9ee9ed

4
lib/cache/lvmetad.c vendored
View File

@ -1484,8 +1484,8 @@ int lvmetad_pv_found(struct cmd_context *cmd, const struct id *pvid, struct devi
daemon_reply reply;
struct lvmcache_info *info;
struct dm_config_tree *pvmeta, *vgmeta;
const char *status, *vgname;
int64_t changed;
const char *status = NULL, *vgname = NULL;
int64_t changed = 0;
int result;
if (!lvmetad_used() || test_mode())