add flag for unused function arguments in F1AP CMakeLists
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
||||
|
||||
add_compile_options(-Wunused-parameter)
|
||||
add_subdirectory(lib)
|
||||
add_subdirectory(MESSAGES)
|
||||
|
||||
|
||||
@@ -3552,6 +3552,7 @@ bool eq_positioning_information_req(const f1ap_positioning_information_req_t *a,
|
||||
void free_positioning_information_req(f1ap_positioning_information_req_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3839,6 +3840,7 @@ bool eq_positioning_information_failure(const f1ap_positioning_information_failu
|
||||
void free_positioning_information_failure(f1ap_positioning_information_failure_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4130,6 +4132,7 @@ bool eq_positioning_activation_resp(const f1ap_positioning_activation_resp_t *a,
|
||||
void free_positioning_activation_resp(f1ap_positioning_activation_resp_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4258,6 +4261,7 @@ bool eq_positioning_activation_failure(const f1ap_positioning_activation_failure
|
||||
void free_positioning_activation_failure(f1ap_positioning_activation_failure_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4401,6 +4405,7 @@ bool eq_positioning_deactivation(const f1ap_positioning_deactivation_t *a, const
|
||||
void free_positioning_deactivation(f1ap_positioning_deactivation_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -5063,6 +5068,7 @@ bool eq_trp_information_failure(const f1ap_trp_information_failure_t *a, const f
|
||||
void free_trp_information_failure(f1ap_trp_information_failure_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -5761,6 +5767,7 @@ bool eq_positioning_measurement_failure(const f1ap_positioning_measurement_failu
|
||||
void free_positioning_measurement_failure(f1ap_positioning_measurement_failure_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6084,6 +6091,7 @@ bool eq_positioning_measurement_abort(const f1ap_positioning_measurement_abort_t
|
||||
void free_positioning_measurement_abort(f1ap_positioning_measurement_abort_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6230,6 +6238,7 @@ bool eq_positioning_measurement_failure_indication(const f1ap_positioning_measur
|
||||
void free_positioning_measurement_failure_indication(f1ap_positioning_measurement_failure_indication_t *msg)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -287,6 +287,7 @@ static bool eq_srb_to_setup(const f1ap_srb_to_setup_t *a, const f1ap_srb_to_setu
|
||||
static void free_srb_to_setup(f1ap_srb_to_setup_t *srbs)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(srbs);
|
||||
}
|
||||
|
||||
static F1AP_SRBs_Setup_List_t encode_srbs_setup(int n, const f1ap_srb_setup_t *srbs)
|
||||
@@ -375,6 +376,7 @@ static bool eq_srb_setup(const f1ap_srb_setup_t *a, const f1ap_srb_setup_t *b)
|
||||
static void free_srb_setup(f1ap_srb_setup_t *srbs)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(srbs);
|
||||
}
|
||||
|
||||
static F1AP_QoSFlowLevelQoSParameters_t encode_qos_flow_param(const f1ap_qos_flow_param_t *p)
|
||||
@@ -639,6 +641,7 @@ static bool eq_up_tnl(const f1ap_up_tnl_t *a, const f1ap_up_tnl_t *b)
|
||||
static void free_up_tnl(const f1ap_up_tnl_t *tnl)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(tnl);
|
||||
}
|
||||
|
||||
/* Encode a DRBs_ToSetup list for UE Context Setup Request, from f1ap_drb_to_setup_t. */
|
||||
@@ -1115,6 +1118,7 @@ static bool eq_drb_to_release(const f1ap_drb_to_release_t *a, const f1ap_drb_to_
|
||||
static void free_drb_to_release(f1ap_drb_to_release_t *drb)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(drb);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2224,6 +2228,7 @@ bool eq_ue_context_rel_req(const f1ap_ue_context_rel_req_t *a, const f1ap_ue_con
|
||||
void free_ue_context_rel_req(f1ap_ue_context_rel_req_t *req)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(req);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -2491,4 +2496,5 @@ bool eq_ue_context_rel_cplt(const f1ap_ue_context_rel_cplt_t *a, const f1ap_ue_c
|
||||
void free_ue_context_rel_cplt(f1ap_ue_context_rel_cplt_t *cplt)
|
||||
{
|
||||
// nothing to free
|
||||
UNUSED(cplt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user