diff --git a/lib/include/srslte/common/metrics_hub.h b/lib/include/srslte/common/metrics_hub.h index ca6d0beac..5dc22f7c1 100644 --- a/lib/include/srslte/common/metrics_hub.h +++ b/lib/include/srslte/common/metrics_hub.h @@ -53,7 +53,7 @@ public: private: void run_period() { if (m) { - metrics_t metric; + metrics_t metric = {}; m->get_metrics(metric); for (uint32_t i=0;iset_metrics(metric);