remove dead code and replace unmanaged asn1_xer_print global variable by the appropriate existing debug flag
This commit is contained in:
committed by
Robert Schmidt
parent
2dae7b0db4
commit
4a3ebb3033
@@ -115,7 +115,7 @@ int ngap_gNB_encode_pdu(NGAP_NGAP_PDU_t *pdu, uint8_t **buffer, uint32_t *len)
|
||||
DevAssert(pdu != NULL);
|
||||
DevAssert(buffer != NULL);
|
||||
DevAssert(len != NULL);
|
||||
if (asn1_xer_print) {
|
||||
if (LOG_DEBUGFLAG(DEBUG_ASN1)) {
|
||||
xer_fprint(stdout, &asn_DEF_NGAP_NGAP_PDU, (void *)pdu);
|
||||
}
|
||||
switch (pdu->present) {
|
||||
|
||||
Reference in New Issue
Block a user