mirror of https://github.com/PentHertz/srsLTE.git
fix compiler warning
This commit is contained in:
parent
1efc4e678a
commit
8eeaafba56
|
@ -217,7 +217,7 @@ mme_gtpc::send_delete_session_request(ue_ctx_t *ue_ctx)
|
|||
{
|
||||
m_mme_gtpc_log->info("Sending GTP-C Delete Session Request request\n");
|
||||
srslte::gtpc_pdu del_req_pdu;
|
||||
srslte::gtpc_f_teid_ie *sgw_ctrl_fteid;
|
||||
srslte::gtpc_f_teid_ie *sgw_ctrl_fteid = NULL;
|
||||
|
||||
//FIXME the UE control TEID sould be stored in the UE ctxt, not in the E-RAB ctxt
|
||||
//Maybe a mme_s1ap_id to ctrl teid map as well?
|
||||
|
@ -230,6 +230,8 @@ mme_gtpc::send_delete_session_request(ue_ctx_t *ue_ctx)
|
|||
break;
|
||||
}
|
||||
}
|
||||
//FIXME: add proper error handling
|
||||
assert(sgw_ctrl_fteid != NULL);
|
||||
|
||||
srslte::gtpc_header *header = &del_req_pdu.header;
|
||||
header->teid_present = true;
|
||||
|
|
Loading…
Reference in New Issue