diff --git a/srsue/test/metrics_test.cc b/srsue/test/metrics_test.cc index eeb5cb6f9..6b955f8b6 100644 --- a/srsue/test/metrics_test.cc +++ b/srsue/test/metrics_test.cc @@ -42,6 +42,8 @@ class ue_dummy : public ue_metrics_interface public: bool get_metrics(ue_metrics_t* m) { + *m = {}; + // fill dummy values m->rf.rf_o = 10; m->phy.nof_active_cc = 2;