mirror of https://github.com/PentHertz/srsLTE.git
Fix coverty defects.
This commit is contained in:
parent
5972345c9d
commit
8753ea1be5
|
@ -318,7 +318,7 @@ inline null<> gmtime_s(...) { return null<>(); }
|
|||
inline std::tm localtime(std::time_t time) {
|
||||
struct dispatcher {
|
||||
std::time_t time_;
|
||||
std::tm tm_;
|
||||
std::tm tm_{};
|
||||
|
||||
dispatcher(std::time_t t) : time_(t) {}
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "srsenb/test/common/dummy_classes_nr.h"
|
||||
#include "srsenb/test/common/rlc_test_dummy.h"
|
||||
#include "srsenb/test/mac/nr/sched_nr_cfg_generators.h"
|
||||
#include "srsran/srslog/srslog.h"
|
||||
#include <mutex>
|
||||
#include <set>
|
||||
#include <srsenb/hdr/stack/mac/common/mac_metrics.h>
|
||||
|
@ -275,8 +276,7 @@ private:
|
|||
}
|
||||
|
||||
// Set softbuffer
|
||||
pusch_cfg.grant.tb[0].softbuffer.rx =
|
||||
&rx_harq_proc[dci.pid].get_softbuffer(dci.ndi, pusch_cfg.grant.tb[0].tbs);
|
||||
pusch_cfg.grant.tb[0].softbuffer.rx = &rx_harq_proc[dci.pid].get_softbuffer(dci.ndi, pusch_cfg.grant.tb[0].tbs);
|
||||
|
||||
// Push scheduling results
|
||||
dl_sched.pdcch_ul.push_back(pdcch);
|
||||
|
|
Loading…
Reference in New Issue