apply unused arguments flag to LAYER2 folder (mostly for RLC and PDCP files as far as I undestand)

This commit is contained in:
francescomani
2026-03-27 17:58:43 +01:00
parent af4b0d53e9
commit 13d129768f
8 changed files with 21 additions and 26 deletions
+3
View File
@@ -241,6 +241,9 @@ typedef struct protocol_ctxt_s {
bool brOption;
} protocol_ctxt_t;
/// suppress compiler warning for unused arguments
#define UNUSED(x) (void)x;
#define UE_MODULE_ID_TO_INSTANCE(mODULE_iD) mODULE_iD + RC.nb_inst
#define ENB_MODULE_ID_TO_INSTANCE(mODULE_iD) mODULE_iD
#define UE_INSTANCE_TO_MODULE_ID(iNSTANCE) iNSTANCE - RC.nb_inst