projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
madwifi: fix scan-build warning
[collectd.git]
/
src
/
write_graphite.c
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
efdd4d8
..
0b7a94f
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-43,6
+43,7
@@
*/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
#include "configfile.h"
@@
-220,8
+221,6
@@
static int wg_callback_init (struct wg_callback *cb)
else
ai_hints.ai_socktype = SOCK_DGRAM;
- ai_list = NULL;
-
status = getaddrinfo (cb->node, cb->service, &ai_hints, &ai_list);
if (status != 0)
{