From: Sebastian Harl Date: Tue, 28 Aug 2007 17:04:19 +0000 (+0200) Subject: exec plugin: Fixed a "control reaches end of non-void function" warning. X-Git-Tag: collectd-4.1.0~24 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1a7050de376608268d11293d4e5faa3fb8516c5a;p=collectd.git exec plugin: Fixed a "control reaches end of non-void function" warning. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/src/exec.c b/src/exec.c index 21ac7c73..e416c8f0 100644 --- a/src/exec.c +++ b/src/exec.c @@ -256,6 +256,7 @@ static int parse_line (char *buffer) fields_num = strsplit (buffer, &fields[1], STATIC_ARRAY_SIZE(fields) - 1); handle_putval (stdout, fields, fields_num + 1); + return (0); } /* int parse_line */ static void *exec_read_one (void *arg)