From af3a2ef589590fa308b0e7873c5c772e4354e665 Mon Sep 17 00:00:00 2001 From: Alejandro Leal Conejos Date: Wed, 27 Oct 2021 16:03:16 +0200 Subject: [PATCH] Fixes coverity 359789 --- srsenb/hdr/stack/mac/sched_grid.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srsenb/hdr/stack/mac/sched_grid.h b/srsenb/hdr/stack/mac/sched_grid.h index 7341cdaba..f75fe290f 100644 --- a/srsenb/hdr/stack/mac/sched_grid.h +++ b/srsenb/hdr/stack/mac/sched_grid.h @@ -179,7 +179,7 @@ public: // UL alloc methods alloc_result alloc_msg3(sched_ue* user, const sched_interface::dl_sched_rar_grant_t& rargrant); alloc_result - alloc_ul(sched_ue* user, prb_interval alloc, ul_alloc_t::type_t alloc_type, bool is_msg3 = false, int msg3_mcs = -1); + alloc_ul(sched_ue* user, prb_interval alloc, ul_alloc_t::type_t alloc_type, bool is_msg3 = false, int msg3_mcs = -1); alloc_result reserve_ul_prbs(const prbmask_t& ulmask, bool strict) { return tti_alloc.reserve_ul_prbs(ulmask, strict); @@ -214,9 +214,9 @@ private: sched_ue_list& ue_list); // consts - const sched_cell_params_t* cc_cfg = nullptr; + const sched_cell_params_t* cc_cfg = nullptr; + sf_sched_result* cc_results = nullptr; ///< Results of other CCs for the same Subframe srslog::basic_logger& logger; - sf_sched_result* cc_results; ///< Results of other CCs for the same Subframe // internal state sf_grid_t tti_alloc;