From 01441d143d8c27e8dffd6a039bce9bf82be02042 Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Tue, 31 Aug 2021 11:58:13 +0200 Subject: [PATCH] mac,nr: avoid use of uninitialized rnti value --- srsenb/hdr/stack/mac/mac_nr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srsenb/hdr/stack/mac/mac_nr.h b/srsenb/hdr/stack/mac/mac_nr.h index b9edb9749..76b0d591e 100644 --- a/srsenb/hdr/stack/mac/mac_nr.h +++ b/srsenb/hdr/stack/mac/mac_nr.h @@ -113,7 +113,7 @@ private: static const uint16_t FIRST_RNTI = 0x4601; srsran::static_circular_map, SRSENB_MAX_UES> ue_db; - std::atomic ue_counter; + std::atomic ue_counter{0}; // BCH buffers struct sib_info_t {