fix uninitialized variables

This commit is contained in:
Andre Puschmann 2019-01-15 16:34:41 +01:00
parent 15953d011e
commit 8326299ec5
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ private:
// Class to create // Class to create
class mch_thread : public thread { class mch_thread : public thread {
public: public:
mch_thread() : initiated(false),running(false),run_enable(false),pool(NULL) {} mch_thread() : initiated(false), running(false), run_enable(false), pool(NULL), lcid_counter(0) {}
bool init(std::string m1u_multiaddr_, std::string m1u_if_addr_, pdcp_interface_gtpu *pdcp_, srslte::log *gtpu_log_); bool init(std::string m1u_multiaddr_, std::string m1u_if_addr_, pdcp_interface_gtpu *pdcp_, srslte::log *gtpu_log_);
void stop(); void stop();
private: private:

View File

@ -158,7 +158,7 @@ int security_command_test()
args.imsi = "001010123456789"; args.imsi = "001010123456789";
args.k = "00112233445566778899aabbccddeeff"; args.k = "00112233445566778899aabbccddeeff";
args.op = "63BFA50EE6523365FF14C1F45F88737D"; args.op = "63BFA50EE6523365FF14C1F45F88737D";
args.using_op = true;
// init USIM // init USIM
srsue::usim usim; srsue::usim usim;