mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
coverity: assigned variable not used and reassigned later
This commit is contained in:
parent
dd3a2f13f1
commit
ee878bc52c
@ -89,7 +89,7 @@ static int _lv_is_on_pv(struct cmd_context *cmd,
|
||||
struct physical_volume *pv2;
|
||||
struct lv_segment *seg;
|
||||
|
||||
if (!lv || !(seg = first_seg(lv)))
|
||||
if (!lv || !(first_seg(lv)))
|
||||
return_0;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user