aggregration: no need to zero-initialize
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 19:48:07 +0000 (21:48 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 1 Aug 2016 19:48:07 +0000 (21:48 +0200)
src/aggregation.c

index 84df548..92f34bc 100644 (file)
@@ -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)