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
@@ -44,7 +44,7 @@ int m2ap_encode_pdu(M2AP_M2AP_PDU_t *pdu, uint8_t **buffer, uint32_t *len)
|
||||
DevAssert(buffer != NULL);
|
||||
DevAssert(len != NULL);
|
||||
|
||||
if (asn1_xer_print) {
|
||||
if (LOG_DEBUGFLAG(DEBUG_ASN1)) {
|
||||
xer_fprint(stdout, &asn_DEF_M2AP_M2AP_PDU, (void *)pdu);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user