mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
remove UNUSED_VARIABLE and replace with UNUSED
This commit is contained in:
@@ -183,7 +183,7 @@ bool wls_pnf_nr_send_p5_message(pnf_t *pnf, nfapi_nr_p4_p5_message_header_t *msg
|
||||
|
||||
bool wls_pnf_nr_send_p7_message(pnf_p7_t *pnf_p7, nfapi_nr_p7_message_header_t *msg, uint32_t msg_len)
|
||||
{
|
||||
UNUSED_VARIABLE(msg_len);
|
||||
UNUSED(msg_len);
|
||||
if (pnf_p7->terminate) {
|
||||
// don't send any further P7 messages after terminating
|
||||
return false;
|
||||
|
||||
@@ -410,7 +410,7 @@ int wls_fapi_nr_vnf_start(nfapi_vnf_config_t *cfg)
|
||||
|
||||
bool wls_vnf_nr_send_p5_message(vnf_t *vnf, uint16_t p5_idx, nfapi_nr_p4_p5_message_header_t *msg, uint32_t msg_len)
|
||||
{
|
||||
UNUSED_VARIABLE(p5_idx);
|
||||
UNUSED(p5_idx);
|
||||
int packed_len =
|
||||
vnf->_public.pack_func(msg, msg_len, vnf->tx_message_buffer, sizeof(vnf->tx_message_buffer), &vnf->_public.codec_config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user