From: Zdenek Kabelac Date: Thu, 14 Nov 2019 16:11:01 +0000 (+0100) Subject: cov: add explicit ret value ignoring X-Git-Tag: v2_03_07~38 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=33c1d2e92137876116fd81cdca61874cc8e299c7;p=lvm2.git cov: add explicit ret value ignoring We don't need to check for any error result codes here. --- diff --git a/lib/metadata/thin_manip.c b/lib/metadata/thin_manip.c index f94797620..0704f2bc3 100644 --- a/lib/metadata/thin_manip.c +++ b/lib/metadata/thin_manip.c @@ -503,11 +503,11 @@ int update_pool_lv(struct logical_volume *lv, int activate) * which Node has pool active. */ if (!activate_lv(lv->vg->cmd, lv)) { - init_dmeventd_monitor(monitored); + (void) init_dmeventd_monitor(monitored); return_0; } if (!lv_is_active(lv)) { - init_dmeventd_monitor(monitored); + (void) init_dmeventd_monitor(monitored); log_error("Cannot activate thin pool %s, perhaps skipped in lvm.conf volume_list?", display_lvname(lv)); return 0;