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
/
ethstat.c
diff --git
a/src/ethstat.c
b/src/ethstat.c
index
316c25f
..
371020c
100644
(file)
--- a/
src/ethstat.c
+++ b/
src/ethstat.c
@@
-48,10
+48,10
@@
struct value_map_s {
};
typedef struct value_map_s value_map_t;
-static char **interfaces
= NULL
;
+static char **interfaces;
static size_t interfaces_num = 0;
-static c_avl_tree_t *value_map
= NULL
;
+static c_avl_tree_t *value_map;
static bool collect_mapped_only;