projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef7c07
)
ping plugin: Remove "static" from local variable.
author
Florian Forster
<octo@collectd.org>
Tue, 8 Dec 2015 13:31:33 +0000
(14:31 +0100)
committer
Florian Forster
<octo@collectd.org>
Tue, 8 Dec 2015 13:31:33 +0000
(14:31 +0100)
This caused Coverity to see concurrency issues where there are none.
CID: 37934
src/ping.c
patch
|
blob
|
history
diff --git
a/src/ping.c
b/src/ping.c
index
c70096c
..
e1a3109
100644
(file)
--- a/
src/ping.c
+++ b/
src/ping.c
@@
-236,7
+236,7
@@
static int ping_dispatch_all (pingobj_t *pingobj) /* {{{ */
static void *ping_thread (void *arg) /* {{{ */
{
-
static
pingobj_t *pingobj = NULL;
+ pingobj_t *pingobj = NULL;
struct timeval tv_begin;
struct timeval tv_end;