mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: drop unused assignment
Assigned values are unused.
This commit is contained in:
parent
1951798d72
commit
dd4fdce16c
@ -1610,7 +1610,7 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
||||
uint32_t s;
|
||||
struct seg_list *sl;
|
||||
struct dm_list *snh;
|
||||
struct lv_segment *seg = first_seg(lv);
|
||||
struct lv_segment *seg;
|
||||
struct dm_tree_node *thin_node;
|
||||
const char *uuid;
|
||||
|
||||
|
@ -403,7 +403,6 @@ static int _alloc_image_component(struct logical_volume *lv,
|
||||
}
|
||||
|
||||
if (!ah) {
|
||||
first_area = 0;
|
||||
log_error(INTERNAL_ERROR
|
||||
"Stand-alone %s area allocation not implemented",
|
||||
(type == RAID_META) ? "metadata" : "data");
|
||||
|
Loading…
Reference in New Issue
Block a user