Commit 600cce17 authored by Cedric Roux's avatar Cedric Roux
Browse files

more warning removals

parent 87d14247
...@@ -494,7 +494,7 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP) ...@@ -494,7 +494,7 @@ int pdcp_fifo_read_input_sdus (const protocol_ctxt_t* const ctxt_pP)
pdcp_read_header_g.inst + oai_emulation.info.first_enb_local;*/ pdcp_read_header_g.inst + oai_emulation.info.first_enb_local;*/
#else // OAI_EMU #else // OAI_EMU
pdcp_read_header_g.inst = 0; pdcp_read_header_g.inst = 0;
#warning "TO DO CORRCT VALUES FOR ue mod id, enb mod id" //#warning "TO DO CORRCT VALUES FOR ue mod id, enb mod id"
ctxt.frame = ctxt_cpy.frame; ctxt.frame = ctxt_cpy.frame;
ctxt.enb_flag = ctxt_cpy.enb_flag; ctxt.enb_flag = ctxt_cpy.enb_flag;
......
...@@ -1294,6 +1294,7 @@ rrc_eNB_generate_defaultRRCConnectionReconfiguration( ...@@ -1294,6 +1294,7 @@ rrc_eNB_generate_defaultRRCConnectionReconfiguration(
/* avoid gcc warnings */ /* avoid gcc warnings */
(void)PDCP_rlc_AM; (void)PDCP_rlc_AM;
(void)PDCP_rlc_UM;
#ifdef RRC_DEFAULT_RAB_IS_AM // EXMIMO_IOT #ifdef RRC_DEFAULT_RAB_IS_AM // EXMIMO_IOT
PDCP_rlc_AM = CALLOC(1, sizeof(*PDCP_rlc_AM)); PDCP_rlc_AM = CALLOC(1, sizeof(*PDCP_rlc_AM));
......
...@@ -481,7 +481,7 @@ static void _display_emm_data(const emm_nvdata_t* data) ...@@ -481,7 +481,7 @@ static void _display_emm_data(const emm_nvdata_t* data)
data->imsi.u.num.digit13, data->imsi.u.num.digit13,
data->imsi.u.num.digit14); data->imsi.u.num.digit14);
} else { } else {
printf("%u%u%u.%u%u%u.%u%u%u%u%u%u%u%u\n", printf("%u%u%u.%u%u%u.%u%u%u%u%u%u%u%u%u\n",
data->imsi.u.num.digit1, data->imsi.u.num.digit1,
data->imsi.u.num.digit2, data->imsi.u.num.digit2,
data->imsi.u.num.digit3, data->imsi.u.num.digit3,
......
...@@ -114,6 +114,9 @@ int emm_reg_send(const emm_reg_t *msg) ...@@ -114,6 +114,9 @@ int emm_reg_send(const emm_reg_t *msg)
emm_reg_primitive_t primitive = msg->primitive; emm_reg_primitive_t primitive = msg->primitive;
assert( (primitive > _EMMREG_START) && (primitive < _EMMREG_END)); assert( (primitive > _EMMREG_START) && (primitive < _EMMREG_END));
/* avoid gcc warnings */
(void)primitive;
/* Execute the EMM procedure */ /* Execute the EMM procedure */
rc = emm_fsm_process(msg); rc = emm_fsm_process(msg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment