From c33db570ddf35af4dc7ebab69eccc34965977f96 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 18 Jun 2015 09:16:18 +0200 Subject: [PATCH] ping plugin: Fix "Dead assignment" warning. --- src/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) */ -- 2.30.2