fix uninit vars reported by Coverity

master
Andre Puschmann 5 years ago
parent 5e6828c3a0
commit b9a2217355

@ -121,7 +121,7 @@ private:
rrc_interface_mac* rrc_h = nullptr; rrc_interface_mac* rrc_h = nullptr;
stack_interface_mac* stack_h = nullptr; stack_interface_mac* stack_h = nullptr;
srslte::log_ref log_h; srslte::log_ref log_h;
mac_interface_phy_lte::mac_phy_cfg_mbsfn_t phy_mbsfn_cfg; mac_interface_phy_lte::mac_phy_cfg_mbsfn_t phy_mbsfn_cfg = {};
// RNTI search window scheduling // RNTI search window scheduling
int si_window_length = -1, si_window_start = -1; int si_window_length = -1, si_window_start = -1;

@ -25,8 +25,8 @@
namespace srsue { namespace srsue {
typedef struct { typedef struct {
int airplane_t_on_ms; int airplane_t_on_ms = -1;
int airplane_t_off_ms; int airplane_t_off_ms = -1;
} nas_sim_args_t; } nas_sim_args_t;
class nas_args_t class nas_args_t

@ -372,7 +372,7 @@ public:
} }
private: private:
phy_interface_mac_lte* phy_h; phy_interface_mac_lte* phy_h = nullptr;
mac* mac_h = nullptr; mac* mac_h = nullptr;
}; };

Loading…
Cancel
Save