Fix - Issue with uninitialized structure in NR_ULSCH_CODING.c

- Initialized variable to remove the valgrind issue.
This commit is contained in:
Parminder Singh
2020-11-05 10:35:09 +01:00
parent 0ce350d1cf
commit 41d3bcac85
@@ -389,13 +389,13 @@ int nr_ulsch_encoding(NR_UE_ULSCH_t *ulsch,
printf("%d \n", harq_process->d[0][cnt]); printf("%d \n", harq_process->d[0][cnt]);
} }
printf("\n");*/ printf("\n");*/
encoder_implemparams_t impp; encoder_implemparams_t impp = {
impp.n_segments=harq_process->C; .n_segments=harq_process->C,
impp.macro_num=0; .macro_num=0,
impp.tinput = NULL; .tinput = NULL,
impp.tprep = NULL; .tprep = NULL,
impp.tparity = NULL; .tparity = NULL,
impp.toutput = NULL; .toutput = NULL};
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_LDPC_ENCODER_OPTIM, VCD_FUNCTION_IN); VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_LDPC_ENCODER_OPTIM, VCD_FUNCTION_IN);