From 8326299ec55400ab2f7e5b3b743d5abb3fbdd613 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 15 Jan 2019 16:34:41 +0100 Subject: [PATCH] fix uninitialized variables --- srsenb/hdr/upper/gtpu.h | 2 +- srsue/test/upper/nas_test.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srsenb/hdr/upper/gtpu.h b/srsenb/hdr/upper/gtpu.h index a71f187f6..7dde7c547 100644 --- a/srsenb/hdr/upper/gtpu.h +++ b/srsenb/hdr/upper/gtpu.h @@ -76,7 +76,7 @@ private: // Class to create class mch_thread : public thread { 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_); void stop(); private: diff --git a/srsue/test/upper/nas_test.cc b/srsue/test/upper/nas_test.cc index 1089c83df..2d8c55b1c 100644 --- a/srsue/test/upper/nas_test.cc +++ b/srsue/test/upper/nas_test.cc @@ -158,7 +158,7 @@ int security_command_test() args.imsi = "001010123456789"; args.k = "00112233445566778899aabbccddeeff"; args.op = "63BFA50EE6523365FF14C1F45F88737D"; - + args.using_op = true; // init USIM srsue::usim usim;