fix uninitialized vars in demux

master
Andre Puschmann 6 years ago
parent fc432adb66
commit 76f93df8b6

@ -83,9 +83,9 @@ private:
bool is_uecrid_successful;
phy_interface_mac_common* phy_h;
srslte::log *log_h;
srslte::timers::timer *time_alignment_timer;
rlc_interface_mac *rlc;
srslte::log* log_h;
srslte::timers::timer* time_alignment_timer;
rlc_interface_mac* rlc;
mac_interface_demux* mac;
// Buffer of PDUs

@ -30,7 +30,16 @@
namespace srsue {
demux::demux() : mac_msg(20), mch_mac_msg(20), pending_mac_msg(20), rlc(NULL)
demux::demux() :
mac_msg(20),
mch_mac_msg(20),
pending_mac_msg(20),
rlc(NULL),
is_uecrid_successful(false),
phy_h(nullptr),
log_h(nullptr),
time_alignment_timer(nullptr),
mac(nullptr)
{
}

Loading…
Cancel
Save