mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-20 11:33:15 +03:00
cleanup: drop assign before use
Drop unneeded assigns singe vars are set later in code before their first use (Coverity).
This commit is contained in:
@@ -956,7 +956,7 @@ static int _raid_add_images(struct logical_volume *lv,
|
||||
int commit, int use_existing_area_len)
|
||||
{
|
||||
int rebuild_flag_cleared = 0;
|
||||
struct lv_segment *seg = first_seg(lv);
|
||||
struct lv_segment *seg;
|
||||
uint32_t s;
|
||||
|
||||
if (!_raid_add_images_without_commit(lv, new_count, pvs, use_existing_area_len))
|
||||
|
Reference in New Issue
Block a user