Code

exec plugin: Fixed a "control reaches end of non-void function" warning.
authorSebastian Harl <sh@tokkee.org>
Tue, 28 Aug 2007 17:04:19 +0000 (19:04 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 28 Aug 2007 22:37:46 +0000 (00:37 +0200)
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/exec.c

index 21ac7c7320e7d520610b3a0e4ef2ab57514f0d1e..e416c8f051ac2a64ee09ec4d4bf94b36fcf06be1 100644 (file)
@@ -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)