From: Marc Fournier Date: Fri, 8 Aug 2014 07:30:34 +0000 (+0200) Subject: lvm: change vg_read() return value to void X-Git-Tag: collectd-5.5.0~230 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=56bb6150401b441c2d383b52c77d347b4cfa8514;p=collectd.git lvm: change vg_read() return value to void To match function prototype change from 55cd1f9a and avoid conflict with bugfix from 25d7de9. --- diff --git a/src/lvm.c b/src/lvm.c index bd227401..9e245423 100644 --- a/src/lvm.c +++ b/src/lvm.c @@ -121,7 +121,7 @@ static void vg_read(vg_t vg, char const *vg_name) lvs = lvm_vg_list_lvs(vg); if (!lvs) { /* no VGs are defined, which is not an error per se */ - return (0); + return; } dm_list_iterate_items(lvl, lvs) {