Fixes coverity 366620

master
AlaiaL 4 years ago committed by Andre Puschmann
parent beaa1b3e24
commit d88760f099

@ -39,7 +39,7 @@ class rlc : public rlc_interface_mac, public rlc_interface_rrc, public rlc_inter
public: public:
explicit rlc(srslog::basic_logger& logger) : logger(logger) {} explicit rlc(srslog::basic_logger& logger) : logger(logger) {}
void void
init(pdcp_interface_rlc* pdcp_, rrc_interface_rlc* rrc_, mac_interface_rlc* mac_, srsran::timer_handler* timers_); init(pdcp_interface_rlc* pdcp_, rrc_interface_rlc* rrc_, mac_interface_rlc* mac_, srsran::timer_handler* timers_);
void stop(); void stop();
void get_metrics(rlc_metrics_t& m, const uint32_t nof_tti); void get_metrics(rlc_metrics_t& m, const uint32_t nof_tti);
@ -95,11 +95,11 @@ private:
std::map<uint32_t, user_interface> users; std::map<uint32_t, user_interface> users;
std::vector<mch_service_t> mch_services; std::vector<mch_service_t> mch_services;
mac_interface_rlc* mac; mac_interface_rlc* mac = nullptr;
pdcp_interface_rlc* pdcp; pdcp_interface_rlc* pdcp = nullptr;
rrc_interface_rlc* rrc; rrc_interface_rlc* rrc = nullptr;
srslog::basic_logger& logger; srslog::basic_logger& logger;
srsran::timer_handler* timers; srsran::timer_handler* timers = nullptr;
}; };
} // namespace srsenb } // namespace srsenb

Loading…
Cancel
Save