Fix clang warning: unused parameters in ngap_gNB_handlers.c

- Fixed [-Wunused-parameter] warnings by adopting UNUSED macro
This commit is contained in:
Guido Casati
2026-04-21 17:46:53 +02:00
committed by Guido Casati
parent 210b9089b9
commit ca31590282
+2
View File
@@ -691,6 +691,7 @@ static int ngap_gNB_handle_error_indication(sctp_assoc_t assoc_id, uint32_t stre
* Decode the NGAP message and transfer to RRC */
static int ngap_gNB_handle_handover_request(sctp_assoc_t assoc_id, uint32_t stream, NGAP_NGAP_PDU_t *pdu)
{
UNUSED(stream);
DevAssert(pdu != NULL);
ngap_gNB_amf_data_t *amf_desc_p = ngap_gNB_get_AMF(NULL, assoc_id, 0);
@@ -851,6 +852,7 @@ static int ngap_gNB_handle_initial_context_request(sctp_assoc_t assoc_id, uint32
static int ngap_gNB_handle_ue_context_release_command(sctp_assoc_t assoc_id, uint32_t stream, NGAP_NGAP_PDU_t *pdu)
{
UNUSED(stream);
ngap_gNB_amf_data_t *amf_desc_p = NULL;
MessageDef *message_p = NULL;
uint64_t amf_ue_ngap_id;