From: Florian Forster Date: Thu, 18 Jun 2015 07:16:18 +0000 (+0200) Subject: ping plugin: Fix "Dead assignment" warning. X-Git-Tag: collectd-5.5.1~101^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c33db570ddf35af4dc7ebab69eccc34965977f96;p=collectd.git ping plugin: Fix "Dead assignment" warning. --- diff --git a/src/ping.c b/src/ping.c index 8bbb8076..c70096c7 100644 --- a/src/ping.c +++ b/src/ping.c @@ -354,7 +354,7 @@ static void *ping_thread (void *arg) /* {{{ */ * `ts_wait'. */ time_calc (&ts_wait, &ts_int, &tv_begin, &tv_end); - status = pthread_cond_timedwait (&ping_cond, &ping_lock, &ts_wait); + pthread_cond_timedwait (&ping_cond, &ping_lock, &ts_wait); if (ping_thread_loop <= 0) break; } /* while (ping_thread_loop > 0) */