dev-lvmguy-raid-takeover-reshape-resize - make coverity happy in __avoid_pvs_with_other_images_of_lv()
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b8e9454601b32c6689045777db2c605084e27e74 Commit: b8e9454601b32c6689045777db2c605084e27e74 Parent: f8e0b7b75afd379b69bc9efb0b2767b5a139a132 Author: Heinz Mauelshagen <[email protected]> AuthorDate: Thu Jan 22 13:49:04 2015 +0100 Committer: Heinz Mauelshagen <[email protected]> CommitterDate: Thu Jan 22 13:49:04 2015 +0100
make coverity happy in __avoid_pvs_with_other_images_of_lv()
--- lib/metadata/raid_manip.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/raid_manip.c +1 -1
@@ -2765,7 +2765,7 @@ static int _avoid_pvs_of_lv(struct logical_volume *lv, void *data)*/ static void __avoid_pvs_with_other_images_of_lv (struct logical_volume *lv,struct dm_list *allocate_pvs) { -for_each_sub_lv (lv, _avoid_pvs_of_lv, allocate_pvs); + (void )for_each_sub_lv (lv, _avoid_pvs_of_lv, allocate_pvs); }/*