X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fceph.c;h=2622dc7330179f03563b62782cc4b5a2e9cd5128;hb=07ba05937aeaedd683656c3912040950dbf4a152;hp=804514ca99b2261e687f5da8a6cc251e1dd6eed3;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37;p=collectd.git diff --git a/src/ceph.c b/src/ceph.c index 804514ca..2622dc73 100644 --- 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 */ -static int long_run_latency_avg = 0; +static int long_run_latency_avg; /** * Give user option to use default type for special cases - @@ -161,10 +161,10 @@ static int long_run_latency_avg = 0; static int convert_special_metrics = 1; /** Array of daemons to monitor */ -static struct ceph_daemon **g_daemons = NULL; +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.