mirror of https://github.com/PentHertz/srsLTE.git
Fixes coverity 369620
This commit is contained in:
parent
23f0bd4d4f
commit
385b12a33a
|
@ -1061,13 +1061,13 @@ int srsran_uci_nr_encode_pusch_ack(srsran_uci_nr_t* q,
|
|||
const srsran_uci_value_nr_t* value,
|
||||
uint8_t* o)
|
||||
{
|
||||
int A = cfg->o_ack;
|
||||
|
||||
// Check inputs
|
||||
if (q == NULL || cfg == NULL || value == NULL || o == NULL) {
|
||||
return SRSRAN_ERROR_INVALID_INPUTS;
|
||||
}
|
||||
|
||||
int A = cfg->o_ack;
|
||||
|
||||
// 6.3.2.1 UCI bit sequence generation
|
||||
// 6.3.2.1.1 HARQ-ACK
|
||||
bool has_csi_part2 = srsran_csi_has_part2(cfg->csi, cfg->nof_csi);
|
||||
|
|
Loading…
Reference in New Issue