projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't initialize static pointers to NULL
[collectd.git]
/
src
/
write_sensu.c
diff --git
a/src/write_sensu.c
b/src/write_sensu.c
index
99885a6
..
3b4a574
100644
(file)
--- a/
src/write_sensu.c
+++ b/
src/write_sensu.c
@@
-119,8
+119,8
@@
struct sensu_host {
int reference_count;
};
-static char *sensu_tags
= NULL
;
-static char **sensu_attrs
= NULL
;
+static char *sensu_tags;
+static char **sensu_attrs;
static size_t sensu_attrs_num;
static int add_str_to_list(struct str_list *strs,