mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-09 12:58:41 +03:00
cleanup: hide gcc warning
Older gcc is giving misleading warning: metadata/lv_manip.c:4018: warning: ‘seg’ may be used uninitialized in this function But warning free compilation is better.
This commit is contained in:
parent
82228acfc9
commit
b8ea27ac97
@ -4016,7 +4016,7 @@ static struct logical_volume *_lvresize_volume(struct cmd_context *cmd,
|
||||
{
|
||||
struct volume_group *vg = lv->vg;
|
||||
struct logical_volume *lock_lv = NULL;
|
||||
struct lv_segment *seg;
|
||||
struct lv_segment *seg = NULL;
|
||||
int status;
|
||||
alloc_policy_t alloc;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user