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 numeric variables to 0
[collectd.git]
/
src
/
ceph.c
diff --git
a/src/ceph.c
b/src/ceph.c
index
e2c98ed
..
2622dc7
100644
(file)
--- a/
src/ceph.c
+++ b/
src/ceph.c
@@
-148,7
+148,7
@@
enum perfcounter_type_d {
};
/** Give user option to use default (long run = since daemon started) avg */
};
/** Give user option to use default (long run = since daemon started) avg */
-static int long_run_latency_avg
= 0
;
+static int long_run_latency_avg;
/**
* Give user option to use default type for special cases -
/**
* Give user option to use default type for special cases -
@@
-164,7
+164,7
@@
static int convert_special_metrics = 1;
static struct ceph_daemon **g_daemons;
/** Number of elements in g_daemons */
static struct ceph_daemon **g_daemons;
/** Number of elements in g_daemons */
-static size_t g_num_daemons
= 0
;
+static size_t g_num_daemons;
/**
* A set of data that we build up in memory while parsing the JSON.
/**
* A set of data that we build up in memory while parsing the JSON.