1
0
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:
Zdenek Kabelac
2016-10-03 13:04:16 +02:00
parent cea441f4d1
commit 9fe4f2337b
4 changed files with 4 additions and 4 deletions

View File

@@ -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))