Don't initialize static numeric variables to 0
[collectd.git] / src / ethstat.c
index 316c25f..0d4c7e1 100644 (file)
@@ -48,10 +48,10 @@ struct value_map_s {
 };
 typedef struct value_map_s value_map_t;
 
-static char **interfaces = NULL;
-static size_t interfaces_num = 0;
+static char **interfaces;
+static size_t interfaces_num;
 
-static c_avl_tree_t *value_map = NULL;
+static c_avl_tree_t *value_map;
 
 static bool collect_mapped_only;