projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72d710
)
ping plugin: Fix "Dead assignment" warning.
author
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 07:16:18 +0000
(09:16 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 18 Jun 2015 08:26:13 +0000
(10:26 +0200)
src/ping.c
patch
|
blob
|
history
diff --git
a/src/ping.c
b/src/ping.c
index
8bbb807
..
c70096c
100644
(file)
--- 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) */