From: Florian Forster Date: Tue, 8 Dec 2015 13:31:33 +0000 (+0100) Subject: ping plugin: Remove "static" from local variable. X-Git-Tag: collectd-5.5.1~13^2~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=86c6d276d13dc97c875ee363219bee744529cddc;p=collectd.git ping plugin: Remove "static" from local variable. This caused Coverity to see concurrency issues where there are none. CID: 37934 --- diff --git a/src/ping.c b/src/ping.c index c70096c7..e1a31092 100644 --- 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;