From 33c1d2e92137876116fd81cdca61874cc8e299c7 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 14 Nov 2019 17:11:01 +0100 Subject: [PATCH] cov: add explicit ret value ignoring We don't need to check for any error result codes here. --- lib/metadata/thin_manip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.43.5