1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

raid: fix compile time warning

This commit is contained in:
Heinz Mauelshagen 2017-03-10 20:37:42 +01:00
parent 53f5cf0af0
commit 5d3e870946

View File

@ -494,7 +494,7 @@ static int _lv_update_reload_fns_reset_eliminate_lvs(struct logical_volume *lv,
int flags_reset = 0, r = 0;
va_list ap;
fn_on_lv_t fn_pre_on_lv = NULL, fn_post_on_lv;
void *fn_pre_data, *fn_post_data;
void *fn_pre_data, *fn_post_data = NULL;
struct dm_list *removal_lvs;
va_start(ap, origin_only);