From: Florian Forster Date: Wed, 17 Jun 2015 15:38:41 +0000 (+0200) Subject: exec plugin: Don't assign variable that is never read. X-Git-Tag: collectd-5.5.1~101^2~20 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7a8fda820f1b9effb84b640bb0ff3eba991de99a;p=collectd.git exec plugin: Don't assign variable that is never read. --- diff --git a/src/exec.c b/src/exec.c index cfd82a31..18124002 100644 --- a/src/exec.c +++ b/src/exec.c @@ -338,7 +338,7 @@ static void exec_child (program_list_t *pl, int uid, int gid, int egid) /* {{{ * exit (-1); } - status = execvp (pl->exec, pl->argv); + execvp (pl->exec, pl->argv); ERROR ("exec plugin: Failed to execute ``%s'': %s", pl->exec, sstrerror (errno, errbuf, sizeof (errbuf)));