projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69b8a9a
)
aggregration: no need to zero-initialize
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 19:48:07 +0000
(21:48 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 19:48:07 +0000
(21:48 +0200)
src/aggregation.c
patch
|
blob
|
history
diff --git
a/src/aggregation.c
b/src/aggregation.c
index
84df548
..
92f34bc
100644
(file)
--- a/
src/aggregation.c
+++ b/
src/aggregation.c
@@
-337,7
+337,7
@@
static int agg_instance_read_func (agg_instance_t *inst, /* {{{ */
char const *func, gauge_t rate, rate_to_value_state_t *state,
value_list_t *vl, char const *pi_prefix, cdtime_t t)
{
- value_t v
= { 0 }
;
+ value_t v;
int status;
if (pi_prefix[0] != 0)