Commit 9cd14735 authored by Masayuki Harada's avatar Masayuki Harada

Fix compile error and remove warning.

parent db303c3b
...@@ -1096,7 +1096,6 @@ rrc_gNB_modify_dedicatedRRCReconfiguration( ...@@ -1096,7 +1096,6 @@ rrc_gNB_modify_dedicatedRRCReconfiguration(
uint8_t buffer[RRC_BUF_SIZE]; uint8_t buffer[RRC_BUF_SIZE];
uint16_t size; uint16_t size;
int qos_flow_index = 0; int qos_flow_index = 0;
NR_QFI_t qfi = 0;
int i, j; int i, j;
uint8_t xid = rrc_gNB_get_next_transaction_identifier(ctxt_pP->module_id); uint8_t xid = rrc_gNB_get_next_transaction_identifier(ctxt_pP->module_id);
...@@ -1199,8 +1198,8 @@ rrc_gNB_modify_dedicatedRRCReconfiguration( ...@@ -1199,8 +1198,8 @@ rrc_gNB_modify_dedicatedRRCReconfiguration(
dedicatedNAS_MessageList = NULL; dedicatedNAS_MessageList = NULL;
} }
memset(buffer, 0, RRC_BUF_SIZE); memset(buffer, 0, sizeof(buffer));
size = do_RRCReconfiguration(ctxt_pP, buffer, size = do_RRCReconfiguration(ctxt_pP, buffer, sizeof(buffer),
xid, xid,
NULL, NULL,
DRB_configList2, DRB_configList2,
......
...@@ -1274,6 +1274,7 @@ rrc_gNB_process_NGAP_PDUSESSION_MODIFY_REQ( ...@@ -1274,6 +1274,7 @@ rrc_gNB_process_NGAP_PDUSESSION_MODIFY_REQ(
return (0); return (0);
} }
} }
return 0;
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
......
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