1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

suppress bogus compiler warning

This commit is contained in:
Alasdair Kergon 2010-04-08 00:52:41 +00:00
parent aab7a3978b
commit b3302a0c3c

View File

@ -2063,7 +2063,7 @@ struct dm_list *build_parallel_areas_from_lv(struct cmd_context *cmd,
struct dm_list *parallel_areas; struct dm_list *parallel_areas;
struct seg_pvs *spvs; struct seg_pvs *spvs;
uint32_t current_le = 0; uint32_t current_le = 0;
struct lv_segment *seg; struct lv_segment * uninitialized_var(seg);
if (!(parallel_areas = dm_pool_alloc(cmd->mem, sizeof(*parallel_areas)))) { if (!(parallel_areas = dm_pool_alloc(cmd->mem, sizeof(*parallel_areas)))) {
log_error("parallel_areas allocation failed"); log_error("parallel_areas allocation failed");