Fix Coverity Scan CID 300477 (Using uninitialized value err_code.)
This commit is contained in:
@@ -420,7 +420,7 @@ int flexran_agent_handle_stats(mid_t mod_id, const void *params, Protocol__Flexr
|
||||
int flexran_agent_stats_reply(mid_t enb_id, xid_t xid, const report_config_t *report_config, Protocol__FlexranMessage **msg){
|
||||
|
||||
Protocol__FlexHeader *header = NULL;
|
||||
err_code_t err_code;
|
||||
err_code_t err_code = PROTOCOL__FLEXRAN_ERR__UNEXPECTED;
|
||||
int i;
|
||||
|
||||
if (flexran_create_header(xid, PROTOCOL__FLEX_TYPE__FLPT_STATS_REPLY, &header) != 0)
|
||||
|
||||
Reference in New Issue
Block a user