From 225a7741b3bfcb45c0cf17518cec44f92711cd5c Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 14 Apr 2022 15:59:58 +0200 Subject: [PATCH] pssch_ue: fix uninitialized variables --- lib/examples/pssch_ue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/examples/pssch_ue.c b/lib/examples/pssch_ue.c index 1b5b60b24..e72e24a01 100644 --- a/lib/examples/pssch_ue.c +++ b/lib/examples/pssch_ue.c @@ -294,7 +294,7 @@ int main(int argc, char** argv) cf_t* equalized_sf_buffer = srsran_vec_malloc(sizeof(cf_t) * sf_n_re); // RX - srsran_ofdm_t fft[SRSRAN_MAX_PORTS]; + srsran_ofdm_t fft[SRSRAN_MAX_PORTS] = {}; srsran_ofdm_cfg_t ofdm_cfg = {}; ofdm_cfg.nof_prb = cell_sl.nof_prb; ofdm_cfg.cp = SRSRAN_CP_NORM;