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~20^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86c6d276d13dc97c875ee363219bee744529cddc;p=thirdparty%2Fcollectd.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 c70096c76..e1a31092c 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;